diff options
author | Ajay Ramachandran <[email protected]> | 2019-07-22 21:21:00 -0400 |
---|---|---|
committer | Ajay Ramachandran <[email protected]> | 2019-07-22 21:21:00 -0400 |
commit | 22df50e3fe000926bcde40b384b0cde1725ae3c0 (patch) | |
tree | 6d127acbbb25aa632ea9c931c1366e8a13fc78b4 | |
parent | 6d32b88490ca761c338124da6c3c6e3b77566368 (diff) | |
download | SponsorBlock-22df50e3fe000926bcde40b384b0cde1725ae3c0.tar.gz SponsorBlock-22df50e3fe000926bcde40b384b0cde1725ae3c0.zip |
Made a separate manifest file for Firefox
-rw-r--r-- | firefox_manifest.json | 60 | ||||
-rw-r--r-- | manifest.json | 6 |
2 files changed, 60 insertions, 6 deletions
diff --git a/firefox_manifest.json b/firefox_manifest.json new file mode 100644 index 00000000..16797449 --- /dev/null +++ b/firefox_manifest.json @@ -0,0 +1,60 @@ +{ + "name": "YTSponsorSkip", + "version": "1.0", + "description": "Skip youtube video sponsors.", + "content_scripts": [ + { + "matches": [ + "https://*.youtube.com/*" + ], + "js": [ + "config.js", + "content.js" + ], + "css": [ + "content.css", + "./libs/Source+Sans+Pro.css" + ] + } + ], + "web_accessible_resources": [ + "icons/LogoSponsorBlocker256px.png", + "icons/IconSponsorBlocker256px.png", + "icons/PlayerStartIconSponsorBlocker256px.png", + "icons/PlayerStopIconSponsorBlocker256px.png", + "icons/PlayerUploadIconSponsorBlocker256px.png", + "icons/PlayerUploadFailedIconSponsorBlocker256px.png", + "icons/upvote.png", + "icons/downvote.png" + ], + "permissions": [ + "tabs", + "storage", + "notifications", + "https://sponsor.ajay.app/*" + ], + "browser_action": { + "default_title": "SponsorBlock", + "default_popup": "popup.html" + }, + "background": { + "scripts":[ + "config.js", + "background.js" + ] + }, + "icons": { + "16": "icons/IconSponsorBlocker16px.png", + "32": "icons/IconSponsorBlocker32px.png", + "64": "icons/LogoSponsorBlocker64px.png", + "128": "icons/LogoSponsorBlocker128px.png", + "256": "icons/LogoSponsorBlocker256px.png" + }, + "browser_specific_settings": { + "gecko": { + "id": "[email protected]", + "strict_min_version": "42.0" + } + }, + "manifest_version": 2 +} diff --git a/manifest.json b/manifest.json index 16797449..ee5dcc2b 100644 --- a/manifest.json +++ b/manifest.json @@ -50,11 +50,5 @@ "128": "icons/LogoSponsorBlocker128px.png", "256": "icons/LogoSponsorBlocker256px.png" }, - "browser_specific_settings": { - "gecko": { - "id": "[email protected]", - "strict_min_version": "42.0" - } - }, "manifest_version": 2 } |