mirror of
https://github.com/davegallant/rfd-redirect-stripper.git
synced 2025-08-05 16:23:40 +00:00
7b95eb5b3c3f9494715014782bfe6d370bf685bf
rfd-redirect-stripper
rfd-redirect-stripper strips affiliate redirects from deal links posted on https://forums.redflagdeals.com.
Why?
This helps navigate around broken links when using certain adblockers.
Browser Extensions
Chrome
The extension is available on the chrome web store.
Firefox
The add-on is available here.
Building the extension
To build the extension, run:
npm install
npm run build
Updating redirects
The browser extension will update the list of redirects by periodically fetching the latest redirects.json.
Open a pull request to this repo to update the redirects.
An easy way to test regex: regex101.com.
New config can be tested by pointing the config url of the extension to your own branch.
For example:
https://raw.githubusercontent.com/davegallant/rfd-redirect-stripper/my-new-branch/redirects.json
Tampermonkey Script
This was originally a Tampermonkey userscript before evolving into a browser extension.
To use as a tampermonkey script, copy script.js into Tampermonkey.
Languages
JavaScript
82.6%
CSS
12.5%
HTML
4.9%