Spoiler Slayer
An open source, extensible, and simple spoiler blocking plugin with out-of-the-box support for Facebook, Reddit, Twitter, Google News, and more!
Additional files are visible only to premium users
manifest.json
{
"manifest_version": 2,
"name": "Spoiler Slayer",
"short_name": "SpoilerSlayer",
"description": "A customizable spoiler blocking plugin with support for Facebook, Reddit, Twitter, Google News, and many more sites!",
"version": "1.1.0",
"author": "Brett Profitt",
"homepage_url": "https://www.github.com/brettp/spoiler-slayer",
"browser_action": {
"default_icon": "assets/icons/battered-axe-48.png",
"default_popup": "popup.html",
"default_title": "Spoiler Slayer"
},
"icons": {
"16": "assets/icons/battered-axe-16.png",
"32": "assets/icons/battered-axe-32.png",
"48": "assets/icons/battered-axe-48.png",
"64": "assets/icons/battered-axe-64.png",
"96": "assets/icons/battered-axe-96.png",
"128": "assets/icons/battered-axe-128.png",
"256": "assets/icons/battered-axe-256.png"
},
"options_ui": {
"page": "options.html",
"open_in_tab": true
},
"background": {
"scripts": [
"scripts/lib/msgApi.js",
"scripts/lib/helpers.js",
"scripts/lib/models.js",
"scripts/lib/settings.js",
"scripts/background.js"
]
},
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"run_at": "document_idle",
"css": [
"styles/content.css"
],
"js": [
"scripts/lib/msgApi.js",
"scripts/lib/helpers.js",
"scripts/content.js"
]
}
],
"permissions": [
"tabs",
"activeTab",
"storage",
"downloads",
"alarms",
"https://*.github.com/",
"https://*.gitlab.com/"
],
"content_security_policy": "script-src 'self' https://ssl.google-analytics.com; object-src 'self'; connect-src 'self' localhost:* ws://localhost:* https://*.github.com https://*.githubusercontent.com https://*.gitlab.com https://gitlab.com",
"applications": {
"gecko": {
"id": "[email protected]"
}
}
}