Tracking Redirect Nuker

Decode encoded URLs in links and replace them with the decoded URL

Автор
yodaluca23
Инсталации дневно
0
Инсталации общо
38
Рейтинг
0 0 0
Версия
0.2.2
Създаден
11.06.2024
Обновен
20.06.2024
Лиценз
GNU GPLv3
Работи на
Всички сайтове

Decode and Replace Links Userscript

Warning! This very well may break some legitimate sites, be prepared to have to toggle it off. I will add @excludes as I find sites, feel free to comment any.

Description

This userscript automatically decodes encoded URLs found within links on web pages and replaces them with the decoded URL. It scans all links on the page, identifies if a link contains an encoded URL, decodes that URL, and replaces the original link with the decoded section.

Use Cases

  • Privacy Concerns: Some URLs may contain encoded tracking parameters or redirects, which can compromise user privacy. By decoding these URLs, users can see the actual destination and avoid potential tracking.
  • Improved Readability: Encoded URLs can be difficult to read and understand. This script helps in improving the readability of links by displaying the decoded URLs.
  • Preventing Redirection Chains: Some links may go through multiple redirections before reaching the final destination. By decoding the URLs, users can directly access the intended destination without going through unnecessary redirects.

How It Works

  1. Scanning Links: The script scans all links on the page using JavaScript.
  2. Identifying Encoded URLs: It checks if a link contains an encoded URL by searching for the presence of "https%3A%2F%2F" or "http%3A%2F%2F" (the URL encoding for "https://" and "http://").
  3. Decoding URLs: If an encoded URL is found, the script extracts the encoded part of the URL and decodes it using decodeURIComponent().
  4. Replacing Links: The original link is replaced with the decoded section, effectively displaying the decoded URL to the user.

Compatibility

This userscript is compatible with most modern web browsers that support userscript managers such as Chrome and Firefox.