Chrome 64 Now Trims Messy Links When You Share Them (theverge.com)
Google's latest consumer version of Chrome, version number 64, just started cleaning up messy referral links for you. From a report: Now, when you go to share an item, you'll no longer see a long tracking string after a link, just the primary link itself. This feature now happens automatically when sharing links in Chrome, either by the Share menu or by copying the link and pasting it elsewhere. Even though it slices off the extra bit of the URL, this doesn't affect referral information. If you choose, you can copy and paste directly from the URL bar to grab the link in entirety.
From TFA: It also recently introduced automatic blocks for bad and unwanted ads...
In other words, it blocks ads that don't contribute to the Google revenue stream. That's what they mean by Bad Ads.
https://stackoverflow.com/ques...
There's loads of javascipt that already changes copied text, prepending or appending anything you want. And also copying to the clipboard, usually just to share a link, onclick it automatically writes to the clipboard. This library handles writing to the clipboard for you if you need such a thing https://clipboardjs.com/
It does not delete the tracking information, it just doesn't show it to you so you don't know its there or not.
From the linked article:
"This feature now happens automatically when sharing links in Chrome, either by the Share menu or by copying the link and pasting it elsewhere. Even though it slices off the extra bit of the URL, this doesn’t affect referral information. If you choose, you can copy and paste directly from the URL bar to grab the link in entirety."
From the actual article, that Verge sponged from:
"The URL streamlining happens automatically when you use the Share menu in Chrome (but not Chrome Custom Tabs). You can copy to the clipboard or share directly to another app—no setup required. If you highlight the URL bar and select text manually, you can still get the full URL with all the junk at the end."
Whoever paraphrased that for Verge doesn't understand how to read.
FC Closer