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