Don't add escaping iframe message for link without target=_top

This commit is contained in:
shortcutme 2020-01-04 16:52:18 +01:00
parent fe739fa848
commit 995d87c167
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -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);
}