diff options
author | Jesús <heckyel@hyperbola.info> | 2020-03-15 12:38:39 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2020-03-15 12:38:39 -0500 |
commit | b6ca9b78e0c11fb5f30e7dfd6cbb0edda2032067 (patch) | |
tree | 986421fd07d7850b7f990356434ee0ab10a86681 /js/contentscript.js | |
parent | ff19d84c95dc0c0a8174f5a1941d87397f131000 (diff) | |
download | ematrix-b6ca9b78e0c11fb5f30e7dfd6cbb0edda2032067.tar.lz ematrix-b6ca9b78e0c11fb5f30e7dfd6cbb0edda2032067.tar.xz ematrix-b6ca9b78e0c11fb5f30e7dfd6cbb0edda2032067.zip |
Fix missing
Diffstat (limited to 'js/contentscript.js')
-rw-r--r-- | js/contentscript.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/contentscript.js b/js/contentscript.js index c304fdf..14d44e0 100644 --- a/js/contentscript.js +++ b/js/contentscript.js @@ -198,11 +198,11 @@ break; } - docurl = 'data:text/html,' + let docurl = 'data:text/html,' + encodeURIComponent(placeholders .frameDocument .replace(reURLPlaceholder, src)); - replaced = false; + let replaced = false; // Using contentWindow.location prevent tainting browser // history -- i.e. breaking back button (seen on Chromium). |