summaryrefslogtreecommitdiff
path: root/src/content/webglHook.js
diff options
context:
space:
mode:
authorhackademix2018-08-18 03:16:54 +0200
committerhackademix2018-08-18 03:20:33 +0200
commit2f9c5299afe0d612deff7f89c948bb44332f2abf (patch)
tree343fe4435bef995b4029656563ce6194829ea641 /src/content/webglHook.js
parente959accb70ea00f99fa611c9f1af40e1be5bde92 (diff)
downloadnoscript-2f9c5299afe0d612deff7f89c948bb44332f2abf.tar.gz
noscript-2f9c5299afe0d612deff7f89c948bb44332f2abf.tar.xz
noscript-2f9c5299afe0d612deff7f89c948bb44332f2abf.zip
Removed all references to RequestUtil.js and dependancies.
Diffstat (limited to 'src/content/webglHook.js')
-rw-r--r--src/content/webglHook.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/content/webglHook.js b/src/content/webglHook.js
index 67f31eb..efafcd5 100644
--- a/src/content/webglHook.js
+++ b/src/content/webglHook.js
@@ -1,4 +1,4 @@
-ns.on("perms", ns => {
+ns.on("perms", event => {
debug("WebGL Hook", document.URL, document.documentElement && document.documentElement.innerHTML, ns.perms.CURRENT); // DEV_ONLY
if (ns.allows("webgl")) return;
let proto = HTMLCanvasElement.prototype;
@@ -26,4 +26,3 @@ ns.on("perms", ns => {
return getContext.call(this, type, ...rest);
}, proto, {defineAs: "getContext"});
});
-document.URL;