1263
submitted 7 months ago by [email protected] to c/[email protected]

No need to remove the URL tracking parameters manually. 🥳

Firefox copy link without site tracking

top 50 comments
sorted by: hot top controversial new old
[-] [email protected] 199 points 7 months ago

They should make this the default.

[-] [email protected] 152 points 7 months ago

Or a setting that makes it the default.

I don't like any software I use to destroy data (even tracking data) without my say so.

[-] [email protected] 46 points 7 months ago

Hmm, I agree with you 100%, but power of defaults is how big companies get average consumers. Maybe Firefox should make it default with a setting to turn it on?

A setting titled "allow copying of tracking data", a lot of people won't allow.

Fight fire with fire.

load more comments (7 replies)
[-] [email protected] 9 points 7 months ago

Opt-out then, the majority won't care

load more comments (1 replies)
[-] [email protected] 5 points 7 months ago

If you wanted to do this and make it default, I believe you should be able to do so using userChrome.css. You won't be able to change the text, but you can remove the old menu item.

load more comments (3 replies)
[-] [email protected] 30 points 7 months ago

Or at least the option to make it the default. I could see some situations where someone may want to test a link with non-identifying parameters (like identifying the campaign source), and not wanting to have that stripped from the URL by default.

But I get you, from a consumer perspective I'd also want it as my default.

In the meantime, there's ClearURLs or uBlock Origin with filter lists.

[-] [email protected] 7 points 7 months ago

Doesn’t it just clean up the link or does Firefox actually know which part of the link to remove?

load more comments (5 replies)
[-] [email protected] 6 points 7 months ago

It’s not the default because it can break links sometimes, like links that have authentication details in the parameters.

[-] [email protected] 5 points 7 months ago* (last edited 7 months ago)

There's an addon I use for the Android version that does this by default.

It does miss some queryparams though but it dramatically reduces the URL size for the big offending sites.

load more comments (5 replies)
[-] [email protected] 57 points 7 months ago

Firefox user for many, many, many years. I tried chrome once and was dismayed at how sluggish it was, hogging ram & cpu.

FF just gets better and better with every update. I'm amazed that more people aren't using it.

[-] [email protected] 6 points 7 months ago

At my school, firefox on the computers are not updated at all so it's using the very old firefox. Even then, it's not that slow. Now the current update is way more modern but it does have the weird stuff like pocket and very weird advertisements bookmarked on the front page. You'll get a much better experience after you do all the adjustments of removing everything and installing the proper extensions, maybe a little arkenfox too.

load more comments (2 replies)
[-] [email protected] 48 points 7 months ago* (last edited 7 months ago)

Here's an amazon link both without and with that feature being used, for comparison. (The tracking one was created in incognito mode, because I don't know what sort of things it might reveal about me otherwise)

https://www.amazon.com/Bentgo%C2%AE-Pop-Bento-Style-Compartments-Sustainable/dp/B0B3CLN8PX/?_encoding=UTF8&pd_rd_w=2B470&content-id=amzn1.sym.87cc8b65-1eb6-4676-be85-d0235c8cc1b4&pf_rd_p=87cc8b65-1eb6-4676-be85-d0235c8cc1b4&pf_rd_r=Z6KPA93RVDCTHA2HFQM7&pd_rd_wg=o2LTo&pd_rd_r=fef55702-5392-47a4-a5d2-8a7951d1229b&ref_=pd_gw_dealz_cm&th=1

https://www.amazon.com/Bentgo%C2%AE-Pop-Bento-Style-Compartments-Sustainable/dp/B0B3CLN8PX/?_encoding=UTF8&ref_=pd_gw_dealz_cm&th=1

What do the parts it left on do? The encoding is innocuous enough but I don't know what it's doing with ref or th. I usually sanitize links myself and I'd have brought that one down to either

https://www.amazon.com/Bentgo%C2%AE-Pop-Bento-Style-Compartments-Sustainable/dp/B0B3CLN8PX

or

https://www.amazon.com/dp/B0B3CLN8PX

, depending on how much I cared at the time. I kind of expected firefox to bring it down to the first version.

[-] [email protected] 14 points 7 months ago

Not sure what th is, but ref is the referrer's ID, which gives the referrer a referral / affiliate bonus if you purchase the item using that link. In theory it's not a bad way to support the referrer and it's not linked to you as an individual personally. You can remove it of course if you feel like they don't deserve the money for referring you to a deal. In the end ref or no ref the price of the item remains the same for you.

I think firefox leaves the ref in intentionally.

[-] [email protected] 4 points 7 months ago

I opened amazon in incognito then clicked on a random item from their front page, which was advertising their cyber monday deals at the time. In that case would it just be letting amazon know that that's how I ended up on that page, without serving any other real purpose?

load more comments (1 replies)
[-] [email protected] 7 points 7 months ago

The "ref" param is clearly a tracking breadcrumb, but not sure what the "th" param is. So this is "better" than nothing, but still has room for improvement. "_encoding" is fine, but UTF-8 should be a default for most users anyways.

[-] [email protected] 21 points 7 months ago

Firefox is getting better every day

[-] [email protected] 9 points 7 months ago

Can't wait til the entire extension ecosystem is available on mobile

[-] [email protected] 18 points 7 months ago

There's also the ClearURLs add-on.

[-] [email protected] 17 points 7 months ago

Or uBlock Origin with filter lists. 👍

[-] [email protected] 11 points 7 months ago

Well yeah but building in privacy-enhancing features like this is a great strategy for FF.

[-] [email protected] 17 points 7 months ago

Does anyone know where the source code for this is?

[-] [email protected] 17 points 7 months ago

My c++ is pretty rusty, but I hopped through the changelogs. I think this is the source for it here https://hg.mozilla.org/mozilla-central/file/tip/toolkit/components/antitracking/URLQueryStringStripper.cpp

load more comments (1 replies)
[-] [email protected] 4 points 7 months ago

I don't know the relevant programming languages so I don't know what to search for, but generally, if you want to find something in the Firefox source code, supposedly https://searchfox.org is a great way to do that.

load more comments (5 replies)
[-] [email protected] 10 points 7 months ago

I'm curious whether this sweet feature alone will decrease data greedy websites revenue in $ millions

[-] [email protected] 18 points 7 months ago
[-] [email protected] 8 points 7 months ago

Can someone ELI5 what is the difference with normal link sharing?

Does it change for the end user something or what? I ask because I almost never share stuff from my browsers, but I do from some apps such as social media or Sync for Lemmy/Voyager.

[-] [email protected] 20 points 7 months ago

it just removes all the crap at the end of a link

[-] [email protected] 11 points 7 months ago

Generally a link tells a browser where to find something on the Web, but you can stuff it with additional information so that when a server receives a request for that something, it will know how the browser got that link.

This feature strip's out that additional information.

[-] [email protected] 10 points 7 months ago

Try to copy an Amazon link with and without this option and you'll see

load more comments (1 replies)
load more comments (2 replies)
[-] [email protected] 8 points 7 months ago

Is it available for Firefox android ?

[-] [email protected] 8 points 7 months ago

As of this writing, it doesn't look like it.

As @[email protected] here mentioned, URLChecker is a good way to manipulate a URL before opening it.

load more comments (5 replies)
[-] [email protected] 4 points 7 months ago

You can look into URLCheck until it is

https://github.com/TrianguloY/UrlChecker

load more comments (1 replies)
[-] CCF_100 7 points 7 months ago

Based Firefox

[-] [email protected] 6 points 7 months ago

Is there an about:config setting to make this the default action or are we gonna have to be patient for that?

load more comments (1 replies)
load more comments
view more: next ›
this post was submitted on 27 Nov 2023
1263 points (99.4% liked)

Firefox

17049 readers
381 users here now

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

founded 4 years ago
MODERATORS