1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-12-22 21:00:23 +01:00

Revert iframe protection upon window unload

Fixes #519
This commit is contained in:
kkapsner 2021-01-03 17:32:57 +01:00
parent f4d09e43ac
commit fcbc622cef
2 changed files with 4 additions and 1 deletions

View File

@ -41,6 +41,9 @@
return false; return false;
} }
} }
window.addEventListener("unload", function(){
extension.revertProperties(window, "iframeProtection");
});
return changeProperty; return changeProperty;
} }

View File

@ -6,7 +6,7 @@ Version 1.5:
- added {empty}, {false} and {undefined} to webGL preference parameters (i.e. VENDOR, RENDERER, UNMASKED_VENDOR_WEBGL and UNMASKED_RENDERER_WEBGL) - added {empty}, {false} and {undefined} to webGL preference parameters (i.e. VENDOR, RENDERER, UNMASKED_VENDOR_WEBGL and UNMASKED_RENDERER_WEBGL)
fixes: fixes:
- - protection of DOM manipulations on unloaded windows may break websites
known issues: known issues:
- if a data URL is blocked the page action button does not appear - if a data URL is blocked the page action button does not appear