this post was submitted on 02 Feb 2024
358 points (99.4% liked)

Firefox

17301 readers
591 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS
 

"Copy Link Without Site Tracking" now on @firefox ! ๐Ÿ™Œ

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 58 points 7 months ago (3 children)

Personally, I have found this feature to be too limited. I still use the ClearURLs extension, which is more effective in my experience.

However, neither one is a silver bullet. Here's an example I just took from Amazon (I blocked out some values with X's):

Original URL:
https://www.amazon.com/Hydro-Flask-Around-Tumbler-Trillium/dp/B0C353845H/ref=XXXX?qid=XXXXXXXXXX&refinements=p_XXXXXXXXXXXXX&rps=1&s=sporting-goods&sr=XXX

Using Firefox's "copy link without site tracking" feature:
https://www.amazon.com/Hydro-Flask-Around-Tumbler-Trillium/dp/B0C353845H/ref=XXXX?qid=XXXXXXXXXX&refinements=p_XXXXXXXXXXXXX&rps=1&s=sporting-goods

Using ClearURLs:
https://www.amazon.com/Hydro-Flask-Around-Tumbler-Trillium/dp/B0C353845H?refinements=p_XXXXXXXXXXXXX&rps=1

The ideal, canonical URL, which no tools I'm familiar with will reliably generate:
https://www.amazon.com/dp/B0C353845H

Longer but still fully de-personalized URL:
https://www.amazon.com/Hydro-Flask-Around-Tumbler-Trillium/dp/B0C353845H

If anybody knows a better solution that works with a wide variety of sites, please share!

[โ€“] beetus 19 points 7 months ago* (last edited 7 months ago) (1 children)

This will just push websites to change the orders and names of their query params (maybe regularly).

I don't think one can safely omit all query params from all sites and expect a decent experience across all websites.

You are fighting a good fight, I salute you, but query params (the part of the url where the identifiers are included) are a valid and core part of Internet addresses. Trying to strip them away universally will only work for so long.

I think that's why you haven't found a tool that meets all your needs yet, because many sites have legitimate uses for those params that don't include tracking. You'll probably need tools designed specifically for Amazon and other specific websites/services.

[โ€“] [email protected] 6 points 7 months ago

Oh yes, definitely. I think this is why Mozilla has not made this the default behavior in Firefox; there will always be the risk of false-positives breaking copied links, so it's important that people know that there's some kind of mutation happening.

ClearURLs uses a JSON file with site-specific regex patterns and rules. In theory I could customize this for myself, or better yet submit a pull request on their GitHub. If I have time I'll look into it.

[โ€“] hiramfromthechi 11 points 7 months ago

uBlock Origin filter lists is what seems to work best. You get nothing but the raw URL.

[โ€“] [email protected] 5 points 7 months ago (1 children)

To be honest it should not be that hard to write a browser extension that just strips away all query parameters. That's just a simple string match for the question mark and deleting everything after it.

The problems begin when sites start implementing other URL shenanigans like your /ref=XXXX? example.

The workable solution there would be to have the extension match user defined patterns for different sites.

[โ€“] yui 4 points 7 months ago (1 children)

The problem with a nuclear solution like that is that some sites use query parameters as actual query parameters. Like DuckDuckGo.

[โ€“] [email protected] 1 points 7 months ago

Yeah, though that should only be an issue if the link you're copying needs to show query results instead of a more permanent page such as a product listing or a video on YouTube.

In general, the conventions and standards are followed. But yeah, linking to search results without tracking bullshit is kind of challenging.