Clean URL Improved

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

Verze ze dne 14. 05. 2023. Zobrazit nejnovější verzi.

Autor
Schimon
Hodnocení
0 0 0
Verze
23.05.14
Vytvořeno
10. 05. 2023
Aktualizováno
14. 05. 2023
Size
15,2 KB
Licence
MIT
Spustit na
všech stránkách

🔗️ URL Control

Original URL Redirector and Fixer.

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

Legend

🔗 Discovered link 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)


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!


Test hyperlinks with parameters:

Link #1 (sort, src, ref)
Link #2 (sort, version)
Link #3 (sort, ref, version)
Link #4 (sort, ref, version, source, url)
Link #5 (sort, version, 465933, src)

Test (plain) links with parameters:

https://greasyfork.org/en/scripts?sort=created&src=greasyfork&ref=fluoridealert.org
https://greasyfork.org/en/scripts?sort=created&version=23.05.13
https://greasyfork.org/en/scripts?sort=created&ref=summitnews&version=23.05.13
https://greasyfork.org/en/scripts?sort=created&ref=summitnews&version=23.05.13&source=fakeologist.com&url=https://blacklistednews.com
https://greasyfork.org/en/scripts?sort=created&version=23.05.13&465933=465933&src=summit.news

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:

  • Support dynamic pages. (using mutation observer or set interval);
  • Improve Event Listener Delegator;
  • Select graphics (💡😃😀🙂💀, 💡😊🙂😐🤔, 💡👍✋👎🛑)

🦅 Designed for Falkon web browser