sjehuda / Clean URL Improved


Version: 24.05.21+8cdd251 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 was 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

🟑 Semi-safe link
URL purged by blacklist

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

Test hyperlinks

β„” orderBy orderDir src ref version source url Custom Visual Example
Link β„–1 βœ“ βœ“ βœ“ βœ“ βœ• βœ• βœ• βœ• πŸ”—βšͺπŸŸ’πŸ”΄
Link β„–2 βœ“ βœ“ βœ• βœ• βœ“ βœ• βœ• βœ•
Link β„–3 βœ“ βœ“ βœ• βœ“ βœ“ βœ• βœ• βœ• βšͺπŸŸ’πŸ”΄
Link β„–4 βœ“ βœ“ βœ• βœ“ βœ“ βœ“ βœ“ /ref= πŸ”—πŸ”—βšͺπŸŸ’πŸŸ‘πŸ”΄
Link β„–5 βœ“ βœ“ βœ“ βœ• βœ“ βœ• βœ• 465933 πŸ”—βšͺπŸŸ’πŸŸ‘πŸ”΄
Link β„–6 βœ“ βœ“ βœ• βœ• βœ“ βœ• βœ“ βœ• πŸ”—βšͺ🟒🟑
Link β„–7 βœ• βœ• βœ• βœ• βœ• βœ• βœ• slackware βšͺ🟑

Recommended Userscripts

🀫 No Referrer

Prevent sending HTTP "referer" requests to destination website.

Please visit our counterparts

Upcoming changes:

  • Support dynamic pages (using mutation observer or set interval);
  • Improve Event Listener Delegator;
  • Customizable list of rules;
  • Per site rules;
  • Statistics.

πŸ¦… Designed for Falkon web browser‬

Rating: 0