mirror of
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated.git
synced 2025-01-31 06:57:29 +05:00
disable last bypass for now because its risky, added another one in its place
This commit is contained in:
parent
ba34c6dfe9
commit
202c476722
4 changed files with 28 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
|||
// @namespace Violentmonkey Scripts
|
||||
// @run-at document-start
|
||||
// @author Amm0ni4
|
||||
// @version 91.5.18
|
||||
// @version 91.5.19
|
||||
// @grant GM_setValue
|
||||
// @grant GM_getValue
|
||||
// @grant GM_addStyle
|
||||
|
@ -749,6 +749,8 @@
|
|||
// @include /tii.la|oko.sh|shrinke.me|clk.wiki|techy.veganab.co|atglinks.com/
|
||||
// @include /shon.xyz/
|
||||
// @include /veganab.co\/\?link=/
|
||||
// @include /veganab.co/
|
||||
// @include /camdigest.com/
|
||||
// @include /tawda.xyz\/tag/
|
||||
// @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/
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// @namespace Violentmonkey Scripts
|
||||
// @run-at document-start
|
||||
// @author Amm0ni4
|
||||
// @version 91.5.18
|
||||
// @version 91.5.19
|
||||
// @grant GM_setValue
|
||||
// @grant GM_getValue
|
||||
// @grant GM_addStyle
|
||||
|
@ -749,6 +749,8 @@
|
|||
// @include /tii.la|oko.sh|shrinke.me|clk.wiki|techy.veganab.co|atglinks.com/
|
||||
// @include /shon.xyz/
|
||||
// @include /veganab.co\/\?link=/
|
||||
// @include /veganab.co/
|
||||
// @include /camdigest.com/
|
||||
// @include /tawda.xyz\/tag/
|
||||
// @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/
|
||||
|
@ -2094,7 +2096,15 @@
|
|||
/gplinks.co\/[^/#]+\/(?:#|\?pid=)/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('#link-btn > a')}) : null;
|
||||
|
||||
// https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/10
|
||||
/veganab.co\/\?link=/.test(url) ? redirect('https://za.gl/' + url.split('?link=')[1]) : null;
|
||||
// /veganab.co\/\?link=/.test(url) ? redirect('https://za.gl/' + url.split('?link=')[1]) : null;
|
||||
|
||||
// https://greasyfork.org/en/scripts/431691-bypass-all-shortlinks/discussions/165265
|
||||
/veganab.co/.test(url) ? popupsToRedirects() : null;
|
||||
/veganab.co/.test(url) ? afterDOMLoaded(function() {clickIfExists('button.btn-hover:nth-child(2)')}) : null;
|
||||
const extractLinkFromButtonOnclick = buttonElement => buttonElement.getAttribute("onclick").match(/window\.open\('([^']+)'/)[1];
|
||||
const redirectToOnclickIfExists = (selector) => { let intervalId = setInterval(() => { let button = document.querySelector(selector); if (button) { clearInterval(intervalId); redirect(extractLinkFromButtonOnclick(button)) } }, 500); };
|
||||
/camdigest.com/.test(url) ? afterDOMLoaded(function() {redirectToOnclickIfExists('#wpsafe-link > a:nth-child(1) > button:nth-child(1)')}) : null;
|
||||
|
||||
const clickIfCorrectText = (selector, textContent) => { let intervalId = setInterval(() => { let button = document.querySelector(selector); if (button && button.innerText.includes(textContent) ) { clearInterval(intervalId); setTimeout(() => { button.click();}, 500); }}, 500); };
|
||||
/tawda.xyz\/tag/.test(url) ? popupsToRedirects() : null;
|
||||
/tawda.xyz\/tag/.test(url) ? afterDOMLoaded(function() {clickIfCorrectText('#continueButton', 'Click to continue')}) : null;
|
||||
|
|
|
@ -104,6 +104,8 @@
|
|||
// @include /tii.la|oko.sh|shrinke.me|clk.wiki|techy.veganab.co|atglinks.com/
|
||||
// @include /shon.xyz/
|
||||
// @include /veganab.co\/\?link=/
|
||||
// @include /veganab.co/
|
||||
// @include /camdigest.com/
|
||||
// @include /tawda.xyz\/tag/
|
||||
// @run-at document-start
|
||||
// ==/UserScript==
|
||||
|
@ -371,7 +373,15 @@
|
|||
/gplinks.co\/[^/#]+\/(?:#|\?pid=)/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('#link-btn > a')}) : null;
|
||||
|
||||
// https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/10
|
||||
/veganab.co\/\?link=/.test(url) ? redirect('https://za.gl/' + url.split('?link=')[1]) : null;
|
||||
// /veganab.co\/\?link=/.test(url) ? redirect('https://za.gl/' + url.split('?link=')[1]) : null;
|
||||
|
||||
// https://greasyfork.org/en/scripts/431691-bypass-all-shortlinks/discussions/165265
|
||||
/veganab.co/.test(url) ? popupsToRedirects() : null;
|
||||
/veganab.co/.test(url) ? afterDOMLoaded(function() {clickIfExists('button.btn-hover:nth-child(2)')}) : null;
|
||||
const extractLinkFromButtonOnclick = buttonElement => buttonElement.getAttribute("onclick").match(/window\.open\('([^']+)'/)[1];
|
||||
const redirectToOnclickIfExists = (selector) => { let intervalId = setInterval(() => { let button = document.querySelector(selector); if (button) { clearInterval(intervalId); redirect(extractLinkFromButtonOnclick(button)) } }, 500); };
|
||||
/camdigest.com/.test(url) ? afterDOMLoaded(function() {redirectToOnclickIfExists('#wpsafe-link > a:nth-child(1) > button:nth-child(1)')}) : null;
|
||||
|
||||
const clickIfCorrectText = (selector, textContent) => { let intervalId = setInterval(() => { let button = document.querySelector(selector); if (button && button.innerText.includes(textContent) ) { clearInterval(intervalId); setTimeout(() => { button.click();}, 500); }}, 500); };
|
||||
/tawda.xyz\/tag/.test(url) ? popupsToRedirects() : null;
|
||||
/tawda.xyz\/tag/.test(url) ? afterDOMLoaded(function() {clickIfCorrectText('#continueButton', 'Click to continue')}) : null;
|
||||
|
|
|
@ -731,6 +731,8 @@ r1.foxylinks.site
|
|||
/tii.la|oko.sh|shrinke.me|clk.wiki|techy.veganab.co|atglinks.com/
|
||||
/shon.xyz/
|
||||
/veganab.co\/\?link=/
|
||||
/veganab.co/
|
||||
/camdigest.com/
|
||||
/tawda.xyz\/tag/
|
||||
/(loot-link.com|loot-links.com|lootlink.org|lootlinks.co|lootdest.(info|org|com)|links-loot.com|linksloot.net)\/s\?.*$/
|
||||
/mega-enlace.com/
|
||||
|
|
Loading…
Reference in a new issue