From b6ca9b78e0c11fb5f30e7dfd6cbb0edda2032067 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Sun, 15 Mar 2020 12:38:39 -0500 Subject: Fix missing --- js/contentscript.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/contentscript.js') 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). -- cgit v1.2.3