No need to remove the URL tracking parameters manually. 🥳

You are viewing a single thread.
View all comments

Does anyone know where the source code for this is?

permalink
report
reply
17 points

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

permalink
report
parent
reply

tbf, out of all the programming languages c++ is the worst in terms of DX and readability. Even worse than java, which I despised so much

permalink
report
parent
reply
4 points

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.

permalink
report
parent
reply
0 points
*
Deleted by creator
permalink
report
parent
reply
19 points
*

There’s various well-known tracking parameters that can be stripped, like UTM parameters. Stripping all query parameters would break a lot of sites, like anything in the vein of http://example.com/site.php?id=123

permalink
report
parent
reply
18 points

Blanket-removing the query string would break many real links, so I’d imagine it’s more nuanced than that.

permalink
report
parent
reply
4 points

I really hope they’re not sending the URL anywhere…

permalink
report
parent
reply

Firefox

!firefox@lemmy.ml

Create post

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

Community stats

  • 1.7K

    Monthly active users

  • 926

    Posts

  • 17K

    Comments

Community moderators