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

Technology

59440 readers
3120 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
[–] robocall@lemmy.world 131 points 11 months ago (5 children)

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

[–] floral_toxicity@lemmy.world 57 points 11 months ago

One of us. One of us.

[–] oce@jlai.lu 33 points 11 months ago (1 children)

Next step is switching from socks to knee socks.

[–] TK420@lemmy.world 9 points 11 months ago

This is already moving fast

[–] Magesticles@lemm.ee 13 points 11 months ago

Firefox is just that browser. Nothing beats it.

[–] Smokeydope@lemmy.world 4 points 11 months ago

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

[–] cybersandwich@lemmy.world 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.

[–] Buffalobuffalo@reddthat.com 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.

[–] GrayBoltWolf@lemmy.world 10 points 11 months ago

So click the regular copy button instead?

[–] Knusper@feddit.de 8 points 11 months ago (3 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_.

load more comments (3 replies)
[–] Coasting0942@reddthat.com 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.

[–] laurelraven@lemmy.blahaj.zone 1 points 11 months ago

It's just the GET parameters it's stripping, those can be used for all sorts of things to pass information to a website to be used as variables for all manner of innocuous things... They just get (ab)used by trackers more than normal web traffic since most of the other uses comes from a site that can pass that as a POST instead, which embeds the parameters in the request header rather than making the URL a mile long, and wouldn't be useful (and could actually be problematic) to be shared with others as part of copying it

load more comments (1 replies)
[–] SeaJ@lemm.ee 38 points 11 months ago

Awesome. I hate having to manually remove that crap.

[–] Zuberi@lemmy.dbzer0.com 18 points 11 months ago

Hell yes finally

[–] TK420@lemmy.world 16 points 11 months ago

Chrome can get fucked.

Thanks Mozilla

[–] jennwiththesea@lemmy.world 15 points 11 months ago

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

[–] ReallyKinda@kbin.social 14 points 11 months ago (1 children)

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

[–] SirQuackTheDuck@lemmy.world 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.

[–] piecat@lemmy.world 12 points 11 months ago (2 children)

I really hope the ctrl-c shortcut defaults to that

[–] kakes@sh.itjust.works 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.

[–] pdxfed@lemmy.world 9 points 11 months ago

That should be an option for sure!

[–] 1984 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?

[–] Mamertine@lemmy.world 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.

[–] derpgon@programming.dev 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.

[–] Smokeydope@lemmy.world 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.

[–] DougHolland@lemmy.world 1 points 11 months ago

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

[–] phx@lemmy.ca 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)
[–] Suavevillain@lemmy.world 9 points 11 months ago

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

[–] silence7@slrpnk.net 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

[–] hiramfromthechi@lemmy.world 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.

[–] silence7@slrpnk.net 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

[–] andrew_bidlaw@sh.itjust.works 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.

[–] NENathaniel@lemmy.ca 5 points 11 months ago (1 children)

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

[–] hiramfromthechi@lemmy.world 7 points 11 months ago

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

[–] thejodie@programming.dev 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. πŸ€·β€β™‚οΈ

[–] DougHolland@lemmy.world 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.

[–] m3t00@lemmy.world 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

[–] TwilightVulpine@lemmy.world 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.

[–] pdxfed@lemmy.world 2 points 11 months ago (2 children)

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

[–] caesaravgvstvs@feddit.de 1 points 11 months ago

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

[–] hiramfromthechi@lemmy.world 1 points 11 months ago (1 children)
[–] meco03211@lemmy.world 2 points 11 months ago

Sausage link.