CleanURLs

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

As of 2023-06-24. See the latest version.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

نووسەر
Schimon
Ratings
0 0 0
وەشان
23.06.24
Created
2023-05-10
Updated
2023-06-24
Size
23.8 KB
مۆڵەت
MIT
Applies to
هەموو سایتەکان

🔗️ URL Control (Clean URL Improved)

Original URL Redirector and Fixer.

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

About

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!

Legend

🔗 Discovered link URL found within a parameter

Base 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

sort version src ref source url unknown Result
Link №1 🔗⚪🟢🔴
Link №2
Link №3 ⚪🟢🔴
Link №4 🔗🔗⚪🟢🟡🔴
Link №5 🔗⚪🟢🟡🔴
Link №6 🔗⚪🟢🟡
Link №7 🔗⚪🔴
Link №7 🔗

Recommended Userscripts

🤫 No Referrer

Prevent sending HTTP "referer" requests to destination website.


Please visit our counterparts

Web Extension

ClearURLs

Removes tracking elements from URLs.

FastForward

Don't waste time with compliance.

Mobile App

Léon – The URL Cleaner

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

URLCheck

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


Upcoming changes:

  • Add configuration to exclude URLs that have no blacklisted parameters;
  • Support dynamic pages. (using mutation observer or set interval);
  • Improve Event Listener Delegator;
  • Select graphics (💡😃😀🙂💀, 💡😊🙂😐🤔, 💡👍✋👎🛑)

🦅 Designed for Falkon web browser