Remove desired parts from a URL via regular expression rules.
Link Cleaner 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).
Source Manifest.json
Similar Extensions
Clear Links 497 6 ★ 58.84KiB
Privacy Tweaks 497 11 ★ 2.75MiB
Security Tweaks 497 3 ★ 3.07MiB
NoEval - Disable Eval() 497 2 ★ 55.81KiB
ClearURLs 497 205 ★ 829KiB
URL Cleaner 497 1 ★ 53.63KiB
WebAPI Blocker 497 8 ★ 58.61KiB
Policy Control 497 3 ★ 48.47KiB
Link Protector 497 0 ★ 46.48KiB
Link Revealer 497 4 ★ 103KiB
Ping Blocker 497 2 ★ 35.15KiB
URL Tracking Stripper & Redirect Skipper 497 36 ★ 73.56KiB
CSS Exfil Protection 497 3 ★ 40.85KiB
Privacy Guard & Manager 497 2 ★ 34.69KiB
Clean copy URL 497 4 ★ 23.74KiB
Neat URL 497 44 ★ 60.0KiB
No Service Worker 497 4 ★ 61.9KiB
No Opener, No Phishers 497 9 ★ 274KiB
Speed Tweaks 497 26 ★ 50.57KiB
Ignore Google Scripts 497 3 ★ 18.68KiB
File Guard (Encryptor | Decryptor) 497 2 ★ 26.96KiB
Privacy Protector Plus 497 11 ★ 516KiB
Smart HTTPS 497 31 ★ 115KiB
Tracking Token Stripper 497 70 ★ 38.32KiB
User reviews
Marcin Salacinski (ID: 0000000fcc493459) Voted 1 ★ - Updated 06/10/2022
Dorka Ixińska (ID: 000000357eeaa99c) Voted 1 ★ - Updated 02/18/2021