sjehuda / Clean URL Improved

Published:

Version: 24.04.28+29ead22 updated

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

Groups:

Homepage: https://openuserjs.org/scripts/sjehuda/Clean_URL_Improved

Support: https://openuserjs.org/scripts/sjehuda/Clean_URL_Improved/issues

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

License: MIT; https://opensource.org/licenses/MIT

πŸ”—οΈ URL Control

Original URL Redirector and Fixer.

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

About

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!

Legend

πŸ”— 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:

  • Statistics;
  • Support dynamic pages (using mutation observer or set interval);
  • Improve Event Listener Delegator.

πŸ¦… Designed for Falkon web browser‬

Rating: 1

1 Votes
-1