diff --git a/src/manifest.json b/manifest.json similarity index 90% rename from src/manifest.json rename to manifest.json index bbd28b3..1c9a5de 100644 --- a/src/manifest.json +++ b/manifest.json @@ -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": { diff --git a/src/content.js b/src/content.js index 16347e8..76ea564 100644 --- a/src/content.js +++ b/src/content.js @@ -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(); };