mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 04:40:20 +01:00
parent
a18e3ba37d
commit
9a3745b366
@ -36,6 +36,9 @@
|
||||
if (settings.get("blockMode").startsWith("allow")){
|
||||
settings.set("blockMode", "fake", currentURL.host);
|
||||
}
|
||||
if (settings.get("blockDataURLs")){
|
||||
settingContainers.resetUrlValue("blockDataURLs", currentURL);
|
||||
}
|
||||
const entries = lists.get("white").filter(e => e.match(currentURL)).map(e => e.value);
|
||||
await Promise.all([
|
||||
lists.removeFrom("white", entries),
|
||||
@ -44,6 +47,9 @@
|
||||
}
|
||||
else {
|
||||
settings.set("blockMode", "allowEverything", currentURL.hostname);
|
||||
if (settings.get("blockDataURLs")){
|
||||
settings.set("blockDataURLs", false, currentURL.hostname);
|
||||
}
|
||||
}
|
||||
update();
|
||||
});
|
||||
|
@ -13,6 +13,7 @@ Version 1.10:
|
||||
- new tabs opened from within the extension did not open properly in Firefox for Android
|
||||
- settings reset confirmation dialog was not properly visible in Firefox for Android
|
||||
- reload after changing the whitelist state in the browser action has to be done without cache
|
||||
- data URL blocking was not affected by when changing the whitelist state in the browser action
|
||||
|
||||
known issues:
|
||||
- if a data URL is blocked the page action button does not appear
|
||||
|
Loading…
x
Reference in New Issue
Block a user