diff --git a/lib/iframeProtection.js b/lib/iframeProtection.js index c9d6d9b..42cf545 100644 --- a/lib/iframeProtection.js +++ b/lib/iframeProtection.js @@ -41,6 +41,9 @@ return false; } } + window.addEventListener("unload", function(){ + extension.revertProperties(window, "iframeProtection"); + }); return changeProperty; } diff --git a/releaseNotes.txt b/releaseNotes.txt index e70b92e..090af57 100644 --- a/releaseNotes.txt +++ b/releaseNotes.txt @@ -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) fixes: - - + - protection of DOM manipulations on unloaded windows may break websites known issues: - if a data URL is blocked the page action button does not appear