mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-11-26 00:03:01 +01:00
Change chrome js injection method
This commit is contained in:
1 parent
eb1756cce9
commit
50028762fb
4 files changed
+173
-160
No files matched your search
@@ -6,7 +6,6 @@
|
||||
"background": {
|
||||
"service_worker": "background.js"
|
||||
},
|
||||
"permissions": ["activeTab", "scripting"],
|
||||
"host_permissions": ["*://*.youtube.com/*"],
|
||||
"action": {
|
||||
"default_popup": "popup.html"
|
||||
@@ -19,7 +18,16 @@
|
||||
{
|
||||
"matches": ["*://*.youtube.com/*"],
|
||||
"js": ["content-script.js"],
|
||||
"run_at": "document_idle"
|
||||
"run_at": "document_start"
|
||||
}
|
||||
],
|
||||
"externally_connectable": {
|
||||
"matches": ["*://*.youtube.com/*"]
|
||||
},
|
||||
"web_accessible_resources": [
|
||||
{
|
||||
"resources": ["script.js"],
|
||||
"matches": ["*://*.youtube.com/*"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user