Link Cleaner

#2 / 4 rate

Link Cleaner

462 users

2020-12-02

leocompson

Extension Information

5 star
17%
4 star
0%
3 star
0%
2 star
0%
1 star
83%

Supported Languages

Permissions

Hot Permissions

Description

Remove desired parts from a URL via regular expression rules.

Link Cleaner extension removes or replaces desired parts from a URL with regular expression rules. The toolbar button is the ON|OFF switch to enable or disable the extension.

To work with this addon, please first open the options page. In the middle section, add a regex filter to match the request URL on the left side, then write a regex substitution pattern on the right side. For example:

Sample left-side regular expression rule: ^http[s]\:\/\/(example\.com)[\/]\?query\-1\=Q1\&query\-2\=Q2\&query\-3\=Q3\&query\-4\=Q4
Sample right-side regular expression rule: https://\1?query-1=Q1

With the above regular expression rule, if you navigate to URL #1 below in the address bar, it will be redirected to URL #2 (as shown in the first screenshot).

URL #1: https://example.com?query-1=Q1&query-2=Q2&query-3=Q3&query-4=Q4
URL #2: https://example.com?query-1=Q1

Note 1: The first match of the regex filter within the left side URL, will be replaced with the pattern on the right side URL.

Note 2: In the regex substitution pattern, backslash-escaped digits (\1 to \9) are used to insert the corresponding capture groups. \0 refers to the entire matching text (see sample rule #1).

Note 3: This extension only works when a URL or link is about to load in a tab or window; it does not change the link's href within the page.

If you have a feature request or found a bug to report, please fill out the bug report form on the addon's homepage (https://mybrowseraddon.com/link-cleaner.html).

Reviews

Jagy “J” James
Jagy “J” James

Works as intended. It might be a bit hard for someone to write their own rules, but that's not the extension's fault.

Nyarlathotep
Nyarlathotep

do you seriously think that people can write regular expressions? there are no clear settings.

Marcin Salacinski
Marcin Salacinski

Probowalem na roznych linkach i nie czysci URL w zaden sposob.

Similar extensions

Clear Links
Clear Links

Christopher Bull

Privacy Tweaks
Privacy Tweaks

loora

Security Tweaks
Security Tweaks

loora

NoEval - Disable Eval()
NoEval - Disable Eval()

Keller

ClearURLs
ClearURLs

https://clearurls.xyz

URL Cleaner
URL Cleaner

Jibin Thomas

WebAPI Blocker
WebAPI Blocker

Yubi

Policy Control
Policy Control

MeryDev

Link Protector
Link Protector

leocompson

Link Revealer
Link Revealer

leocompson

Ping Blocker
Ping Blocker

leocompson

CSS Exfil Protection
CSS Exfil Protection

https://mike-gualtieri.com