CleanURLs

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

当前为 2023-06-01 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

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

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Schimon
评分
0 0 0
版本
23.06.01
创建于
2023-05-10
更新于
2023-06-01
大小
17.1 KB
许可证
MIT
适用于
所有网站

🔗️ 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

⚪ 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

parameters Example
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