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

Added setting to whitelist parts of the canvas API

This commit is contained in:
kkapsner 2018-05-26 15:33:39 +02:00
parent 9d0cd04fc3
commit f02246128e
7 changed files with 87 additions and 2 deletions

View file

@ -227,7 +227,7 @@
});
}
if (funcStatus.active){
if (funcStatus.active && !prefs("apiWhiteList")[name]){
if (funcStatus.mode === "ask"){
funcStatus.mode = ask({
window: window,