mirror of
https://github.com/davegallant/rfd-redirect-stripper.git
synced 2025-08-07 17:12:28 +00:00
Add Chrome support (#15)
* 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
This commit is contained in:
23
manifest-chrome.json
Normal file
23
manifest-chrome.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"manifest_version": 3,
|
||||
"name": "rfd-redirect-stripper",
|
||||
"description": "Strip tracking redirects on rfd",
|
||||
"version": "0.2",
|
||||
"content_scripts": [
|
||||
{
|
||||
"matches": ["*://forums.redflagdeals.com/*"],
|
||||
"js": ["js/content.js"],
|
||||
"run_at": "document_end"
|
||||
}
|
||||
],
|
||||
"action": {
|
||||
"default_icon": "icon.png",
|
||||
"default_popup": "html/popup.html"
|
||||
},
|
||||
"background": {
|
||||
"service_worker": "js/background.js",
|
||||
"type": "module"
|
||||
},
|
||||
"permissions": ["scripting", "storage", "alarms"],
|
||||
"host_permissions": ["*://forums.redflagdeals.com/*"]
|
||||
}
|
Reference in New Issue
Block a user