diff options
author | hackademix | 2018-07-26 23:23:11 +0200 |
---|---|---|
committer | hackademix | 2018-07-26 23:48:20 +0200 |
commit | 21810063d0851fb88623d0458fa4fc2cd054b0db (patch) | |
tree | 1fb30dd82c8c82e4cd9e9dd717efcc2b3131b224 /src/content/content.js | |
parent | 4e62643b33e0f3a7653ae94cda34c7d6ace52097 (diff) | |
download | noscript-21810063d0851fb88623d0458fa4fc2cd054b0db.tar.gz noscript-21810063d0851fb88623d0458fa4fc2cd054b0db.tar.xz noscript-21810063d0851fb88623d0458fa4fc2cd054b0db.zip |
Disable scripting in HTML-embedding objects where webglHook cannot run, if webgl not allowed.
Diffstat (limited to 'src/content/content.js')
-rw-r--r-- | src/content/content.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content/content.js b/src/content/content.js index dd847f0..aea705e 100644 --- a/src/content/content.js +++ b/src/content/content.js @@ -100,8 +100,8 @@ async function init(oldPage = false) { } queryingCanScript = true; - debug(`init() called in document %s, contentType %s readyState %s`, - document.URL, document.contentType, document.readyState); + debug(`init() called in document %s, contentType %s readyState %s, frameElement %o`, + document.URL, document.contentType, document.readyState, window.frameElement && frameElement.data); try { let {canScript, shouldScript} = await browser.runtime.sendMessage({type: "canScript"}); |