From 2372e09c6d8c39d4c9aa6a5ae12202647d131ef1 Mon Sep 17 00:00:00 2001 From: buzz-lightsnack-2007 <73412182+buzz-lightsnack-2007@users.noreply.github.com> Date: Fri, 26 Apr 2024 22:54:54 +0800 Subject: [PATCH] now make the new content script executable --- scripts/external/content.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/external/content.js b/scripts/external/content.js index d246bfb..7eae7d1 100644 --- a/scripts/external/content.js +++ b/scripts/external/content.js @@ -7,8 +7,8 @@ The content script // Import the necessary modules. (async () => { // Import the watchman module. - let watchman = await import(chrome.runtime.getURL("scripts/external/watch.js")); - + let watchman = (await import(chrome.runtime.getURL("scripts/external/watch.js"))).default; + // Begin the job. watchman.job(); -}) \ No newline at end of file +})() \ No newline at end of file