this post was submitted on 29 Nov 2023
975 points (99.1% liked)

Technology

59039 readers
3181 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

cross-posted from: https://lemmy.world/post/8834978

No need to remove the URL tracking parameters manually. πŸ₯³

Firefox copy link without site tracking

all 50 comments
sorted by: hot top controversial new old
[–] [email protected] 131 points 11 months ago (5 children)

The people on Lemmy convinced me to switch from Chrome to Firefox.

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

One of us. One of us.

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

Next step is switching from socks to knee socks.

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

This is already moving fast

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

Firefox is just that browser. Nothing beats it.

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

You're one step closer to joining the Librewolf club!

[–] [email protected] 56 points 11 months ago (5 children)

What this has done for me has highlighted how many things are tracker me and how badly those things are designed because they don't fail gracefully.

I had a telehealth visit link today that broke using this feature. So that's nice to know. My virtual doctors appointments are being tracked by a third party.

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

Edit, looks like Firefox is smarter than me, ignore this.

I don’t know what the link was doing, but just because FF thought it was β€œtracking info” does not mean it was nefarious. It could be used for authentication or security. I have not tested it, but I presume this would break a β€œreset your password” email link.

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

So click the regular copy button instead?

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

I'm rather certain, the way it works is that it removes parameters that are named like well-known tracking parameters. For example, most webpages use Google Analytics, so you see UTM parameters everywhere.

A "reset your password" link could theoretically use a parameter that's named utm_content, then it would presumably get removed by this feature, but I see no sane reason why one would name their password-reset parameter like that.
In general, such tracking parameters are usually named in a way that it will rarely clash with other parameters a webpage may want to use, so for example they may have a prefix like utm_.

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

Looking at some comments on the linked post, I think you are right, and it would probably be fine for things like a password reset. I could play around with it, but my laptop is in the other room.

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

Oh, so it's not just stripping the GET parameters? Okay, that's smarter than I was assuming

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

Stripping all GET parameters would break many, many legitimate webpages. 🫠

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

Umm, your telehealth link was basically a one time password to log you in/authenticate you.

This feature is for browsing the web where you shouldn’t have to identify yourself to visit a blog about Ravens. If you’re visiting your bank, a service you already use, etc, then the unique url was more for them to confirm it’s you because only you have that unique url.

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

This is a good step forward for privacy. However, how it’ll handle data embedded in the URL like MVC?

Also, if it does work well, it’s a matter of time until developers find a way to get around it and probably enhance and increase data collected in the process.

load more comments (1 replies)
[–] [email protected] 38 points 11 months ago

Awesome. I hate having to manually remove that crap.

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

Hell yes finally

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

Chrome can get fucked.

Thanks Mozilla

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

I just used this and it was awesome. Just in case you were wondering.

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

Nice! I’ve been using the clean links app on ios but this will eliminate a step.

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

I've added that plugin on Firefox and Firefox for Android. It makes chat messages so much more legible.

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

I really hope the ctrl-c shortcut defaults to that

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

As much as I like this idea in theory, in practice I would actually be pretty annoyed if ctrl+c did anything other than copy the currently selected text. I would like a keyboard shortcut, though.

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

That should be an option for sure!

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

Hell yeah! Normally I try to do this manually, so this is a useful feature for me

load more comments (2 replies)
[–] [email protected] 10 points 11 months ago (2 children)

Why wouldn't this simply be default behavior, and then they could add a "Copy link with tracking" menu item?

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

I do that manually. In about 1 out of 10, what looks like tracking stuff is actually needed for the link to work. So I'd expect that copy without site tracking option to not work 100% of the time.

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

Probably just removes known tracking GET parameters like utm_*. Just from a parameter name and content it is impossble to infer the use.

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

It might become the default a little later on, they want to make sure it works ok first as an experimental feature before pushing it as a default would be my guess.

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

Hadn't thought of that, and it makes sense. Thanks.

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

I love Firefox it is a great browser and this is nice to have built in now.

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

Is this on Android yet? If yes, how do I use it, don't see an option

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

Not on Android yet. In the meantime, I would just use the Clear URLs extension.

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

~~These things also all strip off the tokens which make gift links work~~

Edit looks like I was wrong on this

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

Did you confirm this? I tried a handful of different links, and it retained certain necessary parameters. Might depend on the link and how Firefox reads the link. Guessing it's using regex.

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

Tested New York Times, Bloomberg, Washington Post, and Nature, and they seemed to work (unlike the one built-in on Mastodon, which fails on all of those)

It however did not however strip all the tracking parameters - some of the stuff indicating that a link was shared by an Android user from the New York Times didn't get stripped off.

Eg: https://www.nytimes.com/2023/11/28/magazine/punk-museum-las-vegas.html?unlocked_article_code=1.CE0.8TqC.QzHPUSPMsy_W&smid=nytcore-android-share

kept the smid=nytcore-android-share

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

If there was a form to report exactly that or edit the list. The base of regexes needs a lot of rules unique to domains to be effective, like an adblock. And they obv put the most popular first.

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

I saw it earlier. When I tried it, it still kept the ?utm=blah&rel=blargh stuff on the URL from FB. πŸ€·β€β™‚οΈ

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

URL query string is only one way to pass variables. each has drawbacks https://stackoverflow.com/questions/597700/what-is-the-best-alternative-for-querystring

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

Firefox, or Mozilla, continues to be the only browser (at least among the biggies) that's for the users, not the trackers and marketers.

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

I tried it and the link didn't work. Anyone else have issues?

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

Yeah it only worked sometimes for me, it'll probably get better with time

load more comments (2 replies)
[–] [email protected] 2 points 11 months ago

Thank goodness. I hate trying to copy share links and they got a whole paragraph of tracking BS. Even YouTube started to add that.