summaryrefslogtreecommitdiff
path: root/background
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2021-12-01 14:02:42 +0100
committerWojtek Kosior <koszko@koszko.org>2021-12-01 14:03:12 +0100
commit463e6830faf5bb81474ac55cf95eed6ae68cc684 (patch)
tree20ec7abe3f40d5f6e8da280b2705aaefae833229 /background
parent6106c789ee818fd18240fd3f99eead598406852f (diff)
downloadbrowser-extension-463e6830faf5bb81474ac55cf95eed6ae68cc684.tar.gz
browser-extension-463e6830faf5bb81474ac55cf95eed6ae68cc684.zip
facilitate testing javascript functions
Haketilo's .js files can now be loaded together with their dependencies and executed on a page opened in a selenium-driven Firefox instance.
Diffstat (limited to 'background')
-rw-r--r--background/main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/background/main.js b/background/main.js
index 9cdfb97..358d549 100644
--- a/background/main.js
+++ b/background/main.js
@@ -186,9 +186,9 @@ start_webRequest_operations();
const code = `\
console.warn("Hi, I'm Mr Dynamic!");
-console.debug("let's see how window.killtheweb looks like now");
+console.debug("let's see how window.haketilo_exports looks like now");
-console.log("killtheweb", window.killtheweb);
+console.log("haketilo_exports", window.haketilo_exports);
`
async function test_dynamic_content_scripts()