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

View File

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