Add partial YouTube compatibility shim

This commit is contained in:
hensm
2019-01-23 15:27:57 +00:00
parent 5c1c78016b
commit 2373880214
4 changed files with 55 additions and 18 deletions

View File

@@ -17,6 +17,13 @@
, "background": {
"scripts": [ "main.js" ]
}
, "content_scripts": [
{
"matches": [ "https://www.youtube.com/*" ]
, "js": [ "compat/youtube.js" ]
, "run_at": "document_start"
}
]
, "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'"
, "default_locale": "en"
@@ -38,6 +45,6 @@
, "web_accessible_resources": [
"shim/bundle.js"
, "dm.js"
, "vendor/webcomponents-lite.min.js"
]
}