mirror of
https://github.com/davegallant/rfd-redirect-stripper.git
synced 2025-08-05 16:23:40 +00:00
Remove scripting permission and host_permissions and publish to chrome web store (#31)
* Remove scripting permission * Remove host permissions * Add chrome web store link
This commit is contained in:
18
README.md
18
README.md
@@ -1,19 +1,17 @@
|
||||
# rfd-redirect-stripper
|
||||
|
||||
rfd-redirect-stripper strips affiliate redirects from deal links posted on https://forums.redflagdeals.com.
|
||||
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](https://www.tampermonkey.net/) userscript before evolving into a browser extension.
|
||||
|
||||
Copy [script.js](./script.js) into Tampermonkey.
|
||||
|
||||
## Browser Extensions
|
||||
|
||||
### Chrome
|
||||
|
||||
The extension is available on [the chrome web store](https://chromewebstore.google.com/detail/rfd-redirect-stripper/npnhoaofocjfjcjlglaihlhkbgaokmpa?authuser=0&hl=en).
|
||||
|
||||
### Firefox
|
||||
|
||||
The extension is available [here](https://addons.mozilla.org/en-US/firefox/addon/rfd-redirect-stripper/).
|
||||
@@ -48,3 +46,9 @@ For example:
|
||||
```text
|
||||
https://raw.githubusercontent.com/davegallant/rfd-redirect-stripper/my-new-branch/redirects.json
|
||||
```
|
||||
|
||||
## Tampermonkey Script
|
||||
|
||||
This was originally a [Tampermonkey](https://www.tampermonkey.net/) userscript before evolving into a browser extension.
|
||||
|
||||
To use as a tampermonkey script, copy [script.js](./script.js) into Tampermonkey.
|
||||
|
@@ -2,11 +2,15 @@
|
||||
"manifest_version": 3,
|
||||
"name": "rfd-redirect-stripper",
|
||||
"description": "Strip tracking redirects on rfd",
|
||||
"version": "0.4",
|
||||
"version": "0.5.1",
|
||||
"content_scripts": [
|
||||
{
|
||||
"matches": ["*://forums.redflagdeals.com/*"],
|
||||
"js": ["js/content.js"],
|
||||
"matches": [
|
||||
"*://forums.redflagdeals.com/*"
|
||||
],
|
||||
"js": [
|
||||
"js/content.js"
|
||||
],
|
||||
"run_at": "document_end"
|
||||
}
|
||||
],
|
||||
@@ -15,12 +19,16 @@
|
||||
"default_popup": "html/popup.html"
|
||||
},
|
||||
"background": {
|
||||
"scripts": ["js/background.js"],
|
||||
"scripts": [
|
||||
"js/background.js"
|
||||
],
|
||||
"service_worker": "js/background.js",
|
||||
"type": "module"
|
||||
},
|
||||
"permissions": ["scripting", "storage", "alarms"],
|
||||
"host_permissions": ["*://forums.redflagdeals.com/*"],
|
||||
"permissions": [
|
||||
"storage",
|
||||
"alarms"
|
||||
],
|
||||
"browser_specific_settings": {
|
||||
"gecko": {
|
||||
"id": "davegallant@gmail.com",
|
||||
|
Reference in New Issue
Block a user