1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-04 12:36:37 +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")){
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){