1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-04 20:46:39 +02:00

Added ask deny mode

Fixes #142 and some minor bugs.
This commit is contained in:
kkapsner 2017-11-09 00:53:52 +01:00
parent e539a893b4
commit f75189f374
8 changed files with 224 additions and 95 deletions

View file

@ -136,7 +136,7 @@
if (prefs("showCallingFile")){
msg += parseErrorStack(errorStack).toString(_);
}
answer = window.confirm(msg)? "allow": "block";
answer = window.confirm(msg)? "allow": prefs("askDenyMode");
askStatus.alreadyAsked[appearance.text] = true;
askStatus.answer[appearance.text] = answer;
appearance.reset();