From fe5fcc52b3946d8be9e438536785f04af313cf54 Mon Sep 17 00:00:00 2001 From: Amm0ni4 Date: Sun, 6 Oct 2024 00:05:46 +0200 Subject: [PATCH] minor fix rinku https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/165 --- Bypass_All_Shortlinks.meta.js | 2 +- Bypass_All_Shortlinks.user.js | 4 ++-- extra_bypasses/rinku.user.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Bypass_All_Shortlinks.meta.js b/Bypass_All_Shortlinks.meta.js index cb708ea..84d0600 100644 --- a/Bypass_All_Shortlinks.meta.js +++ b/Bypass_All_Shortlinks.meta.js @@ -4,7 +4,7 @@ // @run-at document-start // @author Amm0ni4 // @noframes -// @version 92.8.8 +// @version 92.8.9 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle diff --git a/Bypass_All_Shortlinks.user.js b/Bypass_All_Shortlinks.user.js index 61baafe..988dd69 100644 --- a/Bypass_All_Shortlinks.user.js +++ b/Bypass_All_Shortlinks.user.js @@ -4,7 +4,7 @@ // @run-at document-start // @author Amm0ni4 // @noframes -// @version 92.8.8 +// @version 92.8.9 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -2815,7 +2815,7 @@ if (p.textContent.includes("Click Any Ad & Keep It Open For 15 Seconds To Continue") || p.textContent.includes("Click Any Ad & Keep It Open For 15 Seconds To Unlock Captcha")) { console.log("Detected the message. Reloading the page..."); //alert("Unbypassable page type. Reloading the page..."); - window.location.reload(); // Reload the page + location.reload(); // Reload the page return; // Exit the function after reloading } } diff --git a/extra_bypasses/rinku.user.js b/extra_bypasses/rinku.user.js index 5e63aaf..33e79ef 100644 --- a/extra_bypasses/rinku.user.js +++ b/extra_bypasses/rinku.user.js @@ -28,7 +28,7 @@ if (p.textContent.includes("Click Any Ad & Keep It Open For 15 Seconds To Continue") || p.textContent.includes("Click Any Ad & Keep It Open For 15 Seconds To Unlock Captcha")) { console.log("Detected the message. Reloading the page..."); //alert("Unbypassable page type. Reloading the page..."); - window.location.reload(); // Reload the page + location.reload(); // Reload the page return; // Exit the function after reloading } }