diff --git a/lib/askForPermission.js b/lib/askForPermission.js index c4624cb..03ec567 100644 --- a/lib/askForPermission.js +++ b/lib/askForPermission.js @@ -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){ diff --git a/releaseNotes.txt b/releaseNotes.txt index 8971627..78dc76d 100644 --- a/releaseNotes.txt +++ b/releaseNotes.txt @@ -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: