From 995d87c16758b680fac7d652489aaeb2e87be7e0 Mon Sep 17 00:00:00 2001 From: shortcutme Date: Sat, 4 Jan 2020 16:52:18 +0100 Subject: [PATCH] Don't add escaping iframe message for link without target=_top --- src/Ui/template/wrapper.html | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Ui/template/wrapper.html b/src/Ui/template/wrapper.html index 07569990..e0270542 100644 --- a/src/Ui/template/wrapper.html +++ b/src/Ui/template/wrapper.html @@ -20,7 +20,6 @@ // If we are inside iframe escape from it if (window.self !== window.top) { window.open(window.location.toString().replace(/([&?])wrapper=False/, "$1").replace(/&$/, "").replace(/[&?]wrapper_nonce=[A-Za-z0-9]+/, ""), "_top"); - document.write("Escaping from iframe..."); window.stop(); document.execCommand("Stop", false); }