aboutsummaryrefslogtreecommitdiff
path: root/MOZILLA_exports_init.js
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 /MOZILLA_exports_init.js
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 'MOZILLA_exports_init.js')
-rw-r--r--MOZILLA_exports_init.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/MOZILLA_exports_init.js b/MOZILLA_exports_init.js
index 0015f0c..a1135e8 100644
--- a/MOZILLA_exports_init.js
+++ b/MOZILLA_exports_init.js
@@ -54,4 +54,4 @@ String.prototype.matchAll = String.prototype.matchAll || function(regex) {
}
}
-window.killtheweb={is_mozilla: true, browser: this.browser};
+window.haketilo_exports = {is_mozilla: true, browser: this.browser};