aboutsummaryrefslogtreecommitdiffstats
path: root/js/contentscript.js
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2020-03-15 12:38:39 -0500
committerJesús <heckyel@hyperbola.info>2020-03-15 12:38:39 -0500
commitb6ca9b78e0c11fb5f30e7dfd6cbb0edda2032067 (patch)
tree986421fd07d7850b7f990356434ee0ab10a86681 /js/contentscript.js
parentff19d84c95dc0c0a8174f5a1941d87397f131000 (diff)
downloadematrix-b6ca9b78e0c11fb5f30e7dfd6cbb0edda2032067.tar.lz
ematrix-b6ca9b78e0c11fb5f30e7dfd6cbb0edda2032067.tar.xz
ematrix-b6ca9b78e0c11fb5f30e7dfd6cbb0edda2032067.zip
Fix missing
Diffstat (limited to 'js/contentscript.js')
-rw-r--r--js/contentscript.js4
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).