summaryrefslogtreecommitdiff
path: root/src/content/webglHook.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/webglHook.js')
-rw-r--r--src/content/webglHook.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/webglHook.js b/src/content/webglHook.js
index 6b9c00a..6201338 100644
--- a/src/content/webglHook.js
+++ b/src/content/webglHook.js
@@ -1,4 +1,4 @@
-ns.on("capabilities", event => {
+if (typeof exportFunction === "function") ns.on("capabilities", event => {
debug("WebGL Hook", document.URL, document.documentElement && document.documentElement.innerHTML, ns.capabilities); // DEV_ONLY
if (ns.allows("webgl")) return;