sjehuda / Clean URL Improved


Version: 23.05.28+49acff0 updated

Summary: Remove tracking parameters and redirect to original URL. This Userscript uses the URL Interface instead of RegEx.




Copyright: 2023, Schimon Jehudah (http://schimon.i2p)

License: MIT;

πŸ”—οΈ URL Control

Original URL Redirector and Fixer.

Remove needless parameters from a given URL and correct it to a cleaner one.


This script is started as a proof of concept of utilizing the URL API instead of RegEx.

To add a new hash or parameter, simply add it to the respective array.

Enjoy graceful sharing!


πŸ”— Discovered URL
URL found within a parameter

βšͺ Pure link
URL without parameters (mere pathname)

🟒 Safe link
URL with whitelisted parameters

🟑 Clean link
URL purged by blacklist

πŸ”΄ Unsafe link
Original URL (useful in rare cases)

Test hyperlinks

Link #1 (orderBy, orderDir, ref)
Link #2 (orderBy, orderDir, v, ref, url)
Link #3 (orderBy, orderDir, v)

Recommended Userscripts

🀫 No Referrer

Prevent sending HTTP "referer" requests to destination website.

Please visit our counterparts

Web Extension


Removes tracking elements from URLs.


Don't waste time with compliance.

Mobile App

LΓ©on – The URL Cleaner

Removes tracking & other redundant parameters from web links for sharing.


Allows you to analyze (or share) urls before opening them.

Upcoming changes:

  • Support dynamic pages. (using mutation observer or set interval);
  • Improve Event Listener Delegator;
  • Select graphics: πŸ’‘πŸ˜ƒπŸ˜€πŸ™‚πŸ’€ πŸ’‘πŸ˜ŠπŸ™‚πŸ˜πŸ€” πŸ’‘πŸ‘βœ‹πŸ‘ŽπŸ›‘

πŸ¦… Designed for Falkon web browser‬

Rating: 1

1 Votes