diff options
-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 } |