diff options
author | hackademix | 2018-08-27 00:31:37 +0200 |
---|---|---|
committer | hackademix | 2018-08-27 18:55:00 +0200 |
commit | e2b63cf98204a45f4c55ba446689d20e524c188c (patch) | |
tree | fa9739889307b55777d4b48326bbad38136dabf0 /src/content/media.js | |
parent | 6e80d3f130773fc9a9123c5c4c2e97d63e90fa2a (diff) | |
download | noscript-e2b63cf98204a45f4c55ba446689d20e524c188c.tar.gz noscript-e2b63cf98204a45f4c55ba446689d20e524c188c.tar.xz noscript-e2b63cf98204a45f4c55ba446689d20e524c188c.zip |
Further CSP refactoring and removal of obsolete fallbacks.
Diffstat (limited to 'src/content/media.js')
-rw-r--r-- | src/content/media.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content/media.js b/src/content/media.js index 910fd27..770a43f 100644 --- a/src/content/media.js +++ b/src/content/media.js @@ -1,5 +1,5 @@ -ns.on("perms", event => { - debug("Media Hook", document.URL, document.documentElement && document.documentElement.innerHTML, ns.perms.CURRENT); // DEV_ONLY +ns.on("capabilities", event => { + debug("Media Hook", document.URL, document.documentElement && document.documentElement.innerHTML, ns.capabilities); // DEV_ONLY let mediaBlocker = !ns.allows("media"); let unpatched = new Map(); function patch(obj, methodName, replacement) { |