Move manifest.json
This commit is contained in:
parent
8d89763857
commit
71c2aff1cf
@ -6,12 +6,12 @@
|
||||
"content_scripts": [
|
||||
{
|
||||
"matches": ["*://disneynow.com/*"],
|
||||
"js": ["content.js"],
|
||||
"js": ["src/content.js"],
|
||||
"run_at": "document_start"
|
||||
}
|
||||
],
|
||||
"web_accessible_resources": [
|
||||
"page.js"
|
||||
"src/page.js"
|
||||
],
|
||||
"browser_specific_settings": {
|
||||
"gecko": {
|
@ -1,5 +1,6 @@
|
||||
const script = document.createElement('SCRIPT');
|
||||
script.src = chrome.runtime.getURL('page.js');
|
||||
script.src = chrome.runtime.getURL('src/page.js');
|
||||
script.type = 'text/javascript';
|
||||
script.onload = function() {
|
||||
this.remove();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user