added bypass for urlx.one

https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/34
This commit is contained in:
Amm0ni4 2024-04-20 22:06:32 +02:00
parent 223a24bd5e
commit 2cb0b79d3d
4 changed files with 22 additions and 2 deletions

View file

@ -4,7 +4,7 @@
// @run-at document-start // @run-at document-start
// @author Amm0ni4 // @author Amm0ni4
// @noframes // @noframes
// @version 91.8.14 // @version 91.8.15
// @grant GM_setValue // @grant GM_setValue
// @grant GM_getValue // @grant GM_getValue
// @grant GM_addStyle // @grant GM_addStyle
@ -775,6 +775,7 @@
// @include /(ay.live|aylink.co|gitlink.pro)\/[^\/]+$/ // @include /(ay.live|aylink.co|gitlink.pro)\/[^\/]+$/
// @include /(lopteapi.com|1link.vip|blitly.io|web1s.com|megalink.pro)\/[^\/]+$/ // @include /(lopteapi.com|1link.vip|blitly.io|web1s.com|megalink.pro)\/[^\/]+$/
// @include /short-url.link\/[^\/]+$/ // @include /short-url.link\/[^\/]+$/
// @include /urlx.one\/[^\/]+$/
// @include /filecrypt.(cc|co)/ // @include /filecrypt.(cc|co)/
// @include /(loot-link.com|loot-links.com|lootlink.org|lootlinks.co|lootdest.(info|org|com)|links-loot.com|linksloot.net)\/s\?.*$/ // @include /(loot-link.com|loot-links.com|lootlink.org|lootlinks.co|lootdest.(info|org|com)|links-loot.com|linksloot.net)\/s\?.*$/
// @include /mega-enlace.com/ // @include /mega-enlace.com/

View file

@ -4,7 +4,7 @@
// @run-at document-start // @run-at document-start
// @author Amm0ni4 // @author Amm0ni4
// @noframes // @noframes
// @version 91.8.14 // @version 91.8.15
// @grant GM_setValue // @grant GM_setValue
// @grant GM_getValue // @grant GM_getValue
// @grant GM_addStyle // @grant GM_addStyle
@ -775,6 +775,7 @@
// @include /(ay.live|aylink.co|gitlink.pro)\/[^\/]+$/ // @include /(ay.live|aylink.co|gitlink.pro)\/[^\/]+$/
// @include /(lopteapi.com|1link.vip|blitly.io|web1s.com|megalink.pro)\/[^\/]+$/ // @include /(lopteapi.com|1link.vip|blitly.io|web1s.com|megalink.pro)\/[^\/]+$/
// @include /short-url.link\/[^\/]+$/ // @include /short-url.link\/[^\/]+$/
// @include /urlx.one\/[^\/]+$/
// @include /filecrypt.(cc|co)/ // @include /filecrypt.(cc|co)/
// @include /(loot-link.com|loot-links.com|lootlink.org|lootlinks.co|lootdest.(info|org|com)|links-loot.com|linksloot.net)\/s\?.*$/ // @include /(loot-link.com|loot-links.com|lootlink.org|lootlinks.co|lootdest.(info|org|com)|links-loot.com|linksloot.net)\/s\?.*$/
// @include /mega-enlace.com/ // @include /mega-enlace.com/
@ -2348,6 +2349,14 @@
// https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/32 // https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/32
/short-url.link\/[^\/]+$/.test(url) ? afterDOMLoaded(function() {redirectIfExists('a.go-to-button')}) : null; /short-url.link\/[^\/]+$/.test(url) ? afterDOMLoaded(function() {redirectIfExists('a.go-to-button')}) : null;
// https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/34
const redirectIfNotDisabled2 = (selector) => { let intervalId = setInterval(() => { let linkButton = document.querySelector(selector + ':not(.disabled)'); if (linkButton && !linkButton.href.includes('/undefined') && isValidUrl(linkButton.href)) { clearInterval(intervalId); setTimeout(function() {redirect(linkButton.href);}, 500) } }, 500); };
if (/urlx.one\/[^\/]+$/.test(url)) { afterDOMLoaded(function() {
redirectIfNotDisabled2('a.get-link');
const overlay = Object.assign(document.createElement('div'), {style: 'position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); color: #fff; font-family: Arial, sans-serif; font-size: 44px; text-align: center; padding-top: 50%;', innerText: 'Bypassing... Wait ~5s'});
document.body.appendChild(overlay);
}) }
})(); })();
(function() { (function() {

View file

@ -132,6 +132,7 @@
// @include /(ay.live|aylink.co|gitlink.pro)\/[^\/]+$/ // @include /(ay.live|aylink.co|gitlink.pro)\/[^\/]+$/
// @include /(lopteapi.com|1link.vip|blitly.io|web1s.com|megalink.pro)\/[^\/]+$/ // @include /(lopteapi.com|1link.vip|blitly.io|web1s.com|megalink.pro)\/[^\/]+$/
// @include /short-url.link\/[^\/]+$/ // @include /short-url.link\/[^\/]+$/
// @include /urlx.one\/[^\/]+$/
// @run-at document-start // @run-at document-start
// ==/UserScript== // ==/UserScript==
@ -627,6 +628,14 @@
// https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/32 // https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/32
/short-url.link\/[^\/]+$/.test(url) ? afterDOMLoaded(function() {redirectIfExists('a.go-to-button')}) : null; /short-url.link\/[^\/]+$/.test(url) ? afterDOMLoaded(function() {redirectIfExists('a.go-to-button')}) : null;
// https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/34
const redirectIfNotDisabled2 = (selector) => { let intervalId = setInterval(() => { let linkButton = document.querySelector(selector + ':not(.disabled)'); if (linkButton && !linkButton.href.includes('/undefined') && isValidUrl(linkButton.href)) { clearInterval(intervalId); setTimeout(function() {redirect(linkButton.href);}, 500) } }, 500); };
if (/urlx.one\/[^\/]+$/.test(url)) { afterDOMLoaded(function() {
redirectIfNotDisabled2('a.get-link');
const overlay = Object.assign(document.createElement('div'), {style: 'position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); color: #fff; font-family: Arial, sans-serif; font-size: 44px; text-align: center; padding-top: 50%;', innerText: 'Bypassing... Wait ~5s'});
document.body.appendChild(overlay);
}) }
})(); })();
(function() { (function() {

View file

@ -754,6 +754,7 @@ r1.foxylinks.site
/(ay.live|aylink.co|gitlink.pro)\/[^\/]+$/ /(ay.live|aylink.co|gitlink.pro)\/[^\/]+$/
/(lopteapi.com|1link.vip|blitly.io|web1s.com|megalink.pro)\/[^\/]+$/ /(lopteapi.com|1link.vip|blitly.io|web1s.com|megalink.pro)\/[^\/]+$/
/short-url.link\/[^\/]+$/ /short-url.link\/[^\/]+$/
/urlx.one\/[^\/]+$/
/filecrypt.(cc|co)/ /filecrypt.(cc|co)/
/(loot-link.com|loot-links.com|lootlink.org|lootlinks.co|lootdest.(info|org|com)|links-loot.com|linksloot.net)\/s\?.*$/ /(loot-link.com|loot-links.com|lootlink.org|lootlinks.co|lootdest.(info|org|com)|links-loot.com|linksloot.net)\/s\?.*$/
/mega-enlace.com/ /mega-enlace.com/