Clean URL Improved

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

目前為 2023-05-16 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Schimon
評價
0 0 0
版本
23.05.16
建立日期
2023-05-10
更新日期
2023-05-16
尺寸
16.4 KB
授權條款
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 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

⚪ 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 (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)

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