YouTube Blocker
Block non educational YouTube videos
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "YouTube Blocker",
"version": "3.4",
"manifest_version": 2,
"description": "Block non educational YouTube videos",
"icons": {
"128": "resources/icon.png"
},
"background": {
"scripts": [
"js/jquery-3.4.1.min.js",
"js/background.js"
],
"persistent": true
},
"content_scripts": [
{
"matches": [
"*://*.youtube.com/*"
],
"run_at": "document_idle",
"js": [
"js/jquery-3.4.1.min.js",
"js/contentScript.js"
]
}
],
"browser_action": {
"default_title": "YouTube Blocker",
"default_popup": "pages/popup.html"
},
"content_security_policy": "script-src 'self' https://ajax.googleapis.com https://www.googleapis.com; object-src 'self'",
"options_page": "pages/options.html",
"permissions": [
"notifications",
"storage",
"background",
"*://*.youtube.com/*",
"tabs",
"webNavigation"
]
}