1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-06-10 23:19:54 +02:00

Enable asking in iframes

This commit is contained in:
kkapsner 2018-01-04 13:30:48 +01:00
parent 66336d1b65
commit ab19ebd2c6
2 changed files with 2 additions and 1 deletions

View File

@ -136,7 +136,7 @@
if (prefs("showCallingFile")){ if (prefs("showCallingFile")){
msg += parseErrorStack(errorStack).toString(_); msg += parseErrorStack(errorStack).toString(_);
} }
answer = window.confirm(msg)? "allow": prefs("askDenyMode"); answer = window.top.confirm(msg)? "allow": prefs("askDenyMode");
if (prefs("askOnlyOnce") === "combined"){ if (prefs("askOnlyOnce") === "combined"){
["context", "readout", "input"].forEach(function(type){ ["context", "readout", "input"].forEach(function(type){

View File

@ -7,6 +7,7 @@ Version 0.4.5:
fixes: fixes:
- prevent possible double faking - prevent possible double faking
- asking did not work in some cases (auto deny)
Version 0.4.4b: Version 0.4.4b:
known issues: known issues: