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

Enabled whitelisting of local files

Fixes #373
This commit is contained in:
kkapsner 2019-06-25 23:22:55 +02:00
parent 7cd89dec99
commit 7037804b6f
5 changed files with 13 additions and 3 deletions

View file

@ -68,7 +68,9 @@
value: "^" + url.replace(/([\\+*?[^\]$(){}=!|.])/g, "\\$1") + "$"
};
});
choices.unshift(domain);
if (domain){
choices.unshift(domain);
}
return modalChoice(
selectText,
choices