1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-03 12:06:31 +02:00

Always protect about:blank

Fixes #652
This commit is contained in:
kkapsner 2023-04-19 14:34:37 +02:00
parent d6916b013e
commit 2c5b00a55d
3 changed files with 26 additions and 6 deletions

View file

@ -52,7 +52,7 @@
logging.message("check url %s for block mode %s", url, blockMode);
switch (url.protocol){
case "about:":
if (url.href === "about:blank"){
if (url.pathname === "blank"){
logging.message("use regular mode on about:blank");
break;
}