This is a browser extension helps you surf without fbclid, UTM parameters, and parameters you specify.
Not only search params (with "?" preceding) is removed, but also substrings with format key=value
in hash
(with "#" preceding) would be removed.
- example.com/path?a=3&fbclid=xxx&b=4&b=5
=>
example.com/path?a=3&b=4&b=5
- example.com/path#utm_term=condom&comments
=>
example.com/path#comments
- example.com/path?fbclid=xxx#utm_term=condom
=>
example.com/path
note: example.com is a valid website. After installing the extension, you can click the above links to check if the results fit.
v0.2.x
is based for Chrome-based browsers such as Microsoft Edge.
Firefox users may install v0.1 instead (due to manifest version issue), without modifying hash
function.
- I suggest only reloading rules by listening to
StorageArea.onChanged
; otherwise codes would be confusing. - Firefox has not decided how to do with Manifest V3.
- declarativeNetRequest seems not having ways for
hash
to do things such as whatQueryTransform
does; and a question mark is still remained inhref
even though all params are removed andsearch
is empty. These issues are handled incontent.js
. (regexSubstitution
may work but I don't wanna try yet.)