* add chrome support * fix alarms * Add tkqlhce.com (#12) * add tkqlhce.com * add match at beginning of regex * formatting * set config needs to come first * still need background.scripts for firefox * need full path * add onStartup listener to ensure alarm is created * set time to 60 * add manifest specific to chrome and bump version
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.
Tampermonkey Script
This was originally a Tampermonkey userscript before evolving into a browser extension.
Copy script.js into Tampermonkey.
Browser Extensions
Firefox
The extension is available here.
Ensure that permissions are granted. If this is not done, the extension will not have permission to execute.

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