diff options
Diffstat (limited to 'src/content/media.js')
-rw-r--r-- | src/content/media.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/content/media.js b/src/content/media.js index 5da239f..910fd27 100644 --- a/src/content/media.js +++ b/src/content/media.js @@ -1,4 +1,4 @@ -ns.on("perms", ns => { +ns.on("perms", event => { debug("Media Hook", document.URL, document.documentElement && document.documentElement.innerHTML, ns.perms.CURRENT); // DEV_ONLY let mediaBlocker = !ns.allows("media"); let unpatched = new Map(); @@ -54,6 +54,4 @@ ns.on("perms", ns => { return unpatched.get(window.MediaSource.prototype).addSourceBuffer.call(ms, mime, ...args); }); - -})(); -document.URL; +}); |