diff --git a/Bypass_All_Shortlinks.meta.js b/Bypass_All_Shortlinks.meta.js index fdc72eb..1893907 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 91.9.5 +// @version 91.9.6 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle diff --git a/Bypass_All_Shortlinks.user.js b/Bypass_All_Shortlinks.user.js index 2c39fb6..e573400 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 91.9.5 +// @version 91.9.6 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -1822,29 +1822,31 @@ // ----- Bypass ad-maven with adbypass.eu ----- (function() { 'use strict'; - var url = window.location.href; - if (/((ebaticalfel|megadropsz|stownrusis|iedprivatedqu).com)\/s\?/.test(url)) { - GM_setValue('savedShortlink', url); - window.location.assign('https://adbypass.eu/'); - } else if (/adbypass.eu/.test(url) && !url.includes('/unblock')) { - window.addEventListener("load", function(event) { - var savedShortlink = GM_getValue('savedShortlink', null); - var inputField = document.querySelector('#inputt'); - if (savedShortlink && inputField) { - inputField.value = savedShortlink; - GM_deleteValue('savedShortlink'); - setTimeout(function() {let bypassButton = document.querySelector('#bttn');if (bypassButton) {bypassButton.click(); bypassButton.disabled = true;}}, 1000); - } - }); - } else if (/adbypass.eu\/unblock/.test(url)) { - window.addEventListener('load', function() { - var linkElement = document.querySelector('.form__group > a:nth-child(5)'); - if (linkElement && linkElement.href) { - //if (confirm('Bypass done.\nRedirect to ' + linkElement.href + ' ?')) { - window.location.assign(linkElement.href); - //} - } - }); + if (false) { + var url = window.location.href; + if (/((ebaticalfel|megadropsz|stownrusis|iedprivatedqu).com)\/s\?/.test(url)) { + GM_setValue('savedShortlink', url); + window.location.assign('https://adbypass.eu/'); + } else if (/adbypass.eu/.test(url) && !url.includes('/unblock')) { + window.addEventListener("load", function(event) { + var savedShortlink = GM_getValue('savedShortlink', null); + var inputField = document.querySelector('#inputt'); + if (savedShortlink && inputField) { + inputField.value = savedShortlink; + GM_deleteValue('savedShortlink'); + setTimeout(function() {let bypassButton = document.querySelector('#bttn');if (bypassButton) {bypassButton.click(); bypassButton.disabled = true;}}, 1000); + } + }); + } else if (/adbypass.eu\/unblock/.test(url)) { + window.addEventListener('load', function() { + var linkElement = document.querySelector('.form__group > a:nth-child(5)'); + if (linkElement && linkElement.href) { + //if (confirm('Bypass done.\nRedirect to ' + linkElement.href + ' ?')) { + window.location.assign(linkElement.href); + //} + } + }); + } } })(); // ----- ----- ----- diff --git a/extra_bypasses/ad-maven.user.js b/extra_bypasses/ad-maven.user.js index 8fde410..ca474e1 100644 --- a/extra_bypasses/ad-maven.user.js +++ b/extra_bypasses/ad-maven.user.js @@ -12,29 +12,31 @@ // ----- Bypass ad-maven with adbypass.eu ----- (function() { 'use strict'; - var url = window.location.href; - if (/((ebaticalfel|megadropsz|stownrusis|iedprivatedqu).com)\/s\?/.test(url)) { - GM_setValue('savedShortlink', url); - window.location.assign('https://adbypass.eu/'); - } else if (/adbypass.eu/.test(url) && !url.includes('/unblock')) { - window.addEventListener("load", function(event) { - var savedShortlink = GM_getValue('savedShortlink', null); - var inputField = document.querySelector('#inputt'); - if (savedShortlink && inputField) { - inputField.value = savedShortlink; - GM_deleteValue('savedShortlink'); - setTimeout(function() {let bypassButton = document.querySelector('#bttn');if (bypassButton) {bypassButton.click(); bypassButton.disabled = true;}}, 1000); - } - }); - } else if (/adbypass.eu\/unblock/.test(url)) { - window.addEventListener('load', function() { - var linkElement = document.querySelector('.form__group > a:nth-child(5)'); - if (linkElement && linkElement.href) { - //if (confirm('Bypass done.\nRedirect to ' + linkElement.href + ' ?')) { - window.location.assign(linkElement.href); - //} - } - }); + if (false) { + var url = window.location.href; + if (/((ebaticalfel|megadropsz|stownrusis|iedprivatedqu).com)\/s\?/.test(url)) { + GM_setValue('savedShortlink', url); + window.location.assign('https://adbypass.eu/'); + } else if (/adbypass.eu/.test(url) && !url.includes('/unblock')) { + window.addEventListener("load", function(event) { + var savedShortlink = GM_getValue('savedShortlink', null); + var inputField = document.querySelector('#inputt'); + if (savedShortlink && inputField) { + inputField.value = savedShortlink; + GM_deleteValue('savedShortlink'); + setTimeout(function() {let bypassButton = document.querySelector('#bttn');if (bypassButton) {bypassButton.click(); bypassButton.disabled = true;}}, 1000); + } + }); + } else if (/adbypass.eu\/unblock/.test(url)) { + window.addEventListener('load', function() { + var linkElement = document.querySelector('.form__group > a:nth-child(5)'); + if (linkElement && linkElement.href) { + //if (confirm('Bypass done.\nRedirect to ' + linkElement.href + ' ?')) { + window.location.assign(linkElement.href); + //} + } + }); + } } })(); // ----- ----- -----