this post was submitted on 27 Nov 2023
1280 points (99.4% liked)

Firefox

17958 readers
635 users here now

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

founded 4 years ago
MODERATORS
 

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] 201 points 1 year ago (6 children)

They should make this the default.

[–] [email protected] 152 points 1 year ago (3 children)

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] 47 points 1 year ago (7 children)

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 1 year ago (1 children)

Opt-out then, the majority won't care

load more comments (1 replies)
[–] theo 6 points 1 year ago (3 children)

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)
[–] hiramfromthechi 30 points 1 year 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 1 year ago (5 children)

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 1 year 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 1 year ago* (last edited 1 year ago) (2 children)

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 (2 replies)
[–] [email protected] 4 points 1 year ago (4 children)

But default is putting your cursor in the address bar and hitting ctrl-c. How would Firefox clean it like that?

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

If it removes the tracking from the link before the page loads, it could work. So it would already be clean when you copy it.

load more comments (3 replies)
[–] Transcendant 57 points 1 year ago (1 children)

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 1 year ago (2 children)

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)
[–] zkfcfbzr 50 points 1 year ago* (last edited 1 year ago) (4 children)

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 1 year ago (1 children)

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.

[–] zkfcfbzr 4 points 1 year ago (1 children)

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)
[–] plz1 7 points 1 year 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.

load more comments (2 replies)
[–] [email protected] 21 points 1 year ago (1 children)

Firefox is getting better every day

[–] hiramfromthechi 9 points 1 year ago

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

[–] aeharding 17 points 1 year ago (7 children)

Does anyone know where the source code for this is?

[–] beizhia 18 points 1 year ago (1 children)

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)
load more comments (6 replies)
[–] [email protected] 17 points 1 year ago (2 children)

There's also the ClearURLs add-on.

[–] hiramfromthechi 16 points 1 year ago

Or uBlock Origin with filter lists. πŸ‘

[–] [email protected] 11 points 1 year ago

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

[–] [email protected] 11 points 1 year ago (1 children)

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

[–] LufyCZ 18 points 1 year ago
[–] [email protected] 8 points 1 year ago (3 children)

Is it available for Firefox android ?

[–] hiramfromthechi 8 points 1 year ago (5 children)

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 1 year ago

You can look into URLCheck until it is

https://github.com/TrianguloY/UrlChecker

load more comments (1 replies)
[–] [email protected] 8 points 1 year ago (5 children)

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 1 year ago

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

[–] [email protected] 11 points 1 year 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 1 year ago (1 children)

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] 7 points 1 year ago

Based Firefox

[–] [email protected] 6 points 1 year ago (1 children)

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

[–] hiramfromthechi 5 points 1 year ago

I looked for it in about:config, but I couldn't narrow it down and see which parameter it was (if it's even in there at all yet).

Also searching for this answer. https://lemmy.world/comment/5626130

load more comments
view more: next β€Ί