News for hackers. Stuff that matters.
Re:A URL Lengthener by patrickmcnamara on Saturday May 15, 2021 @05:38AM (#27163766)
Or when you Google something and copy a link straight from their search page. Novel-length URLs.
Re:A URL Lengthener by cube00 on Saturday May 15, 2021 @06:04AM (#27163890)
This is so frustrating, I just want the url, but NO, you can an escaped version of the URL embedded inside another escaped blob instead. Ditto with Facebook.
Re:A URL Lengthener by mormegil on Saturday May 15, 2021 @06:49AM (#27164101)
Re:A URL Lengthener by commoner on Saturday May 15, 2021 @03:40PM (#27168254)
Good extension. ClearURLs can also do this for a wide range of sites, and supports custom rules for sites you specify:

https://gitlab.com/KevinRoebert/ClearUrls

Privacy Badger is another option that cleans Google and Facebook links while blocking trackers, and is available by default on Firefox for Android:

https://privacybadger.org

Re:A URL Lengthener by arghwhat on Saturday May 15, 2021 @06:50AM (#27164102)
How would Microsoft, Google and Facebook otherwise be able to track when and what you click?! Think of the hit to their revenue!
Re:A URL Lengthener by cube00 on Saturday May 15, 2021 @07:09AM (#27164192)
They can use onclick and leave the href attribute alone.
Re:A URL Lengthener by Closi on Saturday May 15, 2021 @08:09AM (#27164486)
I'm sure this is something they have considered as their own analytics program uses onclick to track outbound traffic - I assume it's a mix of speed, reliability and the ability to track without javascript.

Plus, if it was done on OnClick there would definitely be an add-on to disable the tracking on all browsers.

Re:A URL Lengthener by mobjack on Saturday May 15, 2021 @09:24AM (#27164985)
There are some privacy reasons for it.

A direct link from a search page will let websites see the search terms that users entered in to navigate there.

Google still knows everything so it doesn't protect you from them, but websites are more in the dark what users were doing before clicking the link.

Re:A URL Lengthener by simcop2387 on Saturday May 15, 2021 @10:18AM (#27165441)
And then Google aggregates that back to sides that use Google analytics so that they get both sides of the users
Re:A URL Lengthener by niutech on Saturday May 22, 2021 @03:23AM (#27244328)
There is rel="noreferrer" for that.
Re:A URL Lengthener by arghwhat on Saturday May 15, 2021 @10:32AM (#27165553)
Then they can't track if you share the link!
Re:A URL Lengthener by igravious on Saturday May 15, 2021 @08:07AM (#27164480)
But what to do about them JavaScript disabling varmints then?
Re:A URL Lengthener by JimDabell on Saturday May 15, 2021 @08:16AM (#27164515)
That’s what hyperlink auditing with the ping attribute is for:

https://html.spec.whatwg.org/multipage/links.html#hyperlink-...

You put a `ping` attribute on a link, and when the user follows the link, the browser sends a request to the ping URL notifying it of the action.

Firefox disables it by default, which doesn’t seem like much of a privacy win considering JavaScript is enabled by default and can polyfill this functionality.

Re:A URL Lengthener by moshmosh on Saturday May 15, 2021 @11:35AM (#27166132)
Giving Javascript the ability to make requests without asking the user via dialog for each one—if we must allow it at all—was a mistake.
Re:A URL Lengthener by SumBird on Sunday May 16, 2021 @02:47PM (#27175995)
That's the point, How else are we supposed to fight these companies? Take their source of money away and watch them squirm.
Re:A URL Lengthener by Siira on Saturday May 15, 2021 @05:11PM (#27169066)
Re:A URL Lengthener by MilnerRoute on Monday May 17, 2021 @03:32PM (#27187367)
I've actually tried switching to Bing, just because Bing's search results include the actual URL of the page when you right-click (instead of some Google-riffic monstrosity...)
Re:A URL Lengthener by Nition on Saturday May 15, 2021 @07:28PM (#27169878)
Or when they helpfully add www.google.com/amp/s/ to the start of it.
Re:A URL Lengthener by fomine3 on Saturday May 15, 2021 @07:20AM (#27164254)
Copying canonical PDF link from Google result on Android device is extremely frustrating because Chrome Android doesn't support to open PDF so it opens reader app. Anyone have solution?
Re:A URL Lengthener by whiterace1488 on Saturday May 15, 2021 @10:12AM (#27165400)
Don't use Google search?
Re:A URL Lengthener by cbolton on Sunday May 16, 2021 @04:45AM (#27172229)
I think they fixed this... did you try it recently?