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

Firefox

17849 readers
73 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

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 202 points 11 months ago (6 children)

They should make this the default.

[–] [email protected] 154 points 11 months 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 11 months ago (1 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.

[–] [email protected] -5 points 11 months ago* (last edited 11 months ago) (1 children)

This just:

  1. Encourages companies to try to work around it

  2. More importantly, possibly breaks important functionality

[–] [email protected] 12 points 11 months ago* (last edited 11 months ago) (1 children)

It's like saying GDPR encourages companies to try work around data protection, so it should not be implemented.

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

It's not like that at all.

Links support parameters for a reason, and I promise you that the main reason isn't tracking. They can convey important info like the language, search parameters, a specific comment, etc.

Removing them willy-nilly by default is going to cause issue sooner or later, and then people are going to blame Firefox for "not working" and are just gonna switch to Chrome because "it just works".

That's not what we want is it?

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

As I understand now it removes only limited set of query strings

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

Yeah but the list is hardcoded. Collisions can happen.

Also, since it's hardcoded, it's easily gameable, and it will be gamed if too many people start filtering them out.

It's a good start but a bad solution overall

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

The trackers can be renamed to anything that's regularly used in other places.

Pushing to make this a default will only harm the small minority that might be enjoying the benefits right now.

At least with the current way it's set up.

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

Opt-out then, the majority won't care

[–] [email protected] 5 points 11 months ago (1 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.

[–] [email protected] 2 points 11 months ago* (last edited 11 months ago) (1 children)

I'm unlikely to use the menu button, I generally use Ctrl+C/Cmd+C. I'll have to poke around and see if there's an option to set that shortcut.

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

Correct me if I am wrong, but I don't think you would be able to do this as ctrl+c copies what is highlighted rather than the actual link.

[–] [email protected] 2 points 11 months ago* (last edited 11 months ago)

I just want a shortcut for "copy without tracking" on the current tab instead of having to use the context menu. I'm fine with it not being "Ctrl+C," as long as it's reasonably easy to remember, like maybe "Ctrl+Shift+C" or even a sequence of commands (i.e. select address bar, then special copy command).

Likewise, there should be an easy way to open a link without trackers, like "Ctrl+shift+click" or something.

[–] [email protected] 31 points 11 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 11 months ago

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

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

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

[–] [email protected] 3 points 11 months ago (1 children)
[–] [email protected] 4 points 11 months ago (3 children)

How does it know what part of the link is the site tracking?

[–] [email protected] 3 points 11 months ago

Looks like it has a list of global and site specific parameters that it is safe to remove.

[–] [email protected] 2 points 11 months ago

Generally, most are variables prefixed with utm_

They likely built an index from most of the Analytics services also.

[–] [email protected] 0 points 11 months ago

I think it's a combination of things, a basic approach of removing the query string (after the question mark) with exceptions for different sites that might need some of the query string.

[–] [email protected] 6 points 11 months ago* (last edited 11 months ago) (1 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.

[–] [email protected] 4 points 11 months ago (3 children)

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

[–] [email protected] 5 points 11 months ago* (last edited 11 months 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.

[–] [email protected] 2 points 11 months ago* (last edited 11 months ago)

On android anyway, that's an interceptable action, and you can also monitor and alter the clipboard.

So they could either alter what gets copied before its copied, or scan the copied item after it'd copied and alter it.

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

It doesn't.

If you think about it though, you've already visited that link so why clean it now.

[–] [email protected] 6 points 11 months ago

So the person you send it to gets a clean link