Clean URL Improved

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

当前为 2023-05-13 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

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

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

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

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

🔗️ 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, ref) // Tooltip
Link #2 (sort, version) // No tooltip (yet)
Link #3 (sort, ref, version) // Tooltip
Link #4 (sort, ref, version, url) // Tooltip
Link #5 (sort, version, 465933) // No tooltip (yet)

Test (plain) links with parameters:

https://greasyfork.org/en/scripts?sort=created&ref=465933 // Tooltip
https://greasyfork.org/en/scripts?sort=created&version=23.05.13 // No tooltip (yet)
https://greasyfork.org/en/scripts?sort=created&ref=465933&version=23.05.13 // Tooltip
https://greasyfork.org/en/scripts?sort=created&ref=465933&version=23.05.13&url=https://blacklistednews.com // Tooltip
https://greasyfork.org/en/scripts?sort=created&version=23.05.13&465933=465933 // No tooltip (yet)

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);
  • All URLs with hash and parameters are subjects (not only by blacklist);
  • Modify URLs by whitelist (not only by blacklist). See Link #2;
  • Improve Event Listener Delegator;
  • Improve URL extraction by validating its structure;
  • Reduce amount of links when there are two identical links;

  • Select graphics:

  • 💡😃😀🙂💀

  • 💡😊🙂😐🤔

  • 💡👍✋👎🛑


🦅 Designed for Falkon web browser