Nah, the Firefox thing just seems to have one or two rules, like remove utm_whatever=something parameters. If you expand that to 10 or 20 rules, some of which are site specific like cleaning ALL the parameters from ebay links and doing some similar rewriting with Amazon links, removing gclid and fclid from everything, retrieving the content of a few of the more common link shorteners and cleaning -that- up, etc., you can get a much less trashy experience with maybe 1 page of code. Adblock already does some of that with its site filtering. You don’t get everything, but a little bit goes a long way.
Nah, the Firefox thing just seems to have one or two rules, like remove utm_whatever=something parameters. If you expand that to 10 or 20 rules, some of which are site specific like cleaning ALL the parameters from ebay links and doing some similar rewriting with Amazon links, removing gclid and fclid from everything, retrieving the content of a few of the more common link shorteners and cleaning -that- up, etc., you can get a much less trashy experience with maybe 1 page of code. Adblock already does some of that with its site filtering. You don’t get everything, but a little bit goes a long way.
Well, apparently this is the list of parameters it strips: https://searchfox.org/mozilla-release/source/toolkit/components/antitracking/StripOnShareLists/LGPL/StripOnShareLGPL.json
Thanks that’s helpful. But there are a bunch of other important rewrites needed, like bypassing redirects.