From 71c2aff1cf4dada803c160143d3f69dea7600950 Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Sat, 19 Mar 2022 20:36:18 -0400 Subject: [PATCH] Move manifest.json --- src/manifest.json => manifest.json | 4 ++-- src/content.js | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) rename src/manifest.json => manifest.json (90%) 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(); };