Code: Select all
<a rel="nofollow noreferrer noopener" target="_blank" href="https://www.google.com/url?q=https://adblockplus.org/&sa=D&source=hangouts&ust=1551362671051000&usg=AFQjCNEFySHczplshi84HQvqE_SctNnWrQ" class="Xx" tabindex="-1" dir="ltr" data-display="https://adblockplus.org/" data-sanitized="https://www.google.com/url?q=https://adblockplus.org/&sa=D&source=hangouts&ust=1551362671051000&usg=AFQjCNEFySHczplshi84HQvqE_SctNnWrQ">https://adblockplus.org/</a>
To this: https://www.google.com/url?q=https://ad ... E_SctNnWrQ
Interestingly, Google doesn't do this for their own URL's. For example, if I share a youtube video in Google chat the URL does not get rewritten as can be seen here:
Code: Select all
<a rel="nofollow noreferrer noopener" target="_blank" href="https://www.youtube.com/watch?v=7ujgMjMnLd8" class="Xx" tabindex="-1" dir="ltr" data-display="https://www.youtube.com/watch?v=7ujgMjMnLd8" data-sanitized="https://www.youtube.com/watch?v=7ujgMjMnLd8">https://www.youtube.com/watch?v=7ujgMjMnLd8</a>