Fix message canvasBlocker-unload

For #522
This commit is contained in:
kkapsner 2021-01-26 13:34:51 +01:00
parent 1b04da40c2
commit e48710eee9
2 changed files with 5 additions and 2 deletions

View File

@ -205,7 +205,10 @@
logging.message("register listener for messages from background script");
extension.message.on(function(data){
if (data["canvasBlocker-unload"]){
extension.revertProperties();
extension.revertProperties(window);
for (let frameIndex = 0; frameIndex < window.length; frameIndex += 1){
extension.revertProperties(window[frameIndex]);
}
enabled = false;
}
if (

View File

@ -6,7 +6,7 @@ Version 1.6:
-
fixes:
-
- fix message canvasBlocker-unload
known issues:
- if a data URL is blocked the page action button does not appear