fix prev commit for chrome

https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/48
This commit is contained in:
Amm0ni4 2024-05-09 15:00:15 +02:00
parent 8268c1cbee
commit 3b69543742
4 changed files with 10 additions and 4 deletions

View file

@ -4,7 +4,7 @@
// @run-at document-start // @run-at document-start
// @author Amm0ni4 // @author Amm0ni4
// @noframes // @noframes
// @version 91.9.10 // @version 91.9.11
// @grant GM_setValue // @grant GM_setValue
// @grant GM_getValue // @grant GM_getValue
// @grant GM_addStyle // @grant GM_addStyle
@ -796,6 +796,7 @@
// @include /thotpacks.xyz/ // @include /thotpacks.xyz/
// @include /readytechflip.com/ // @include /readytechflip.com/
// @include /fitnessholic.net\/token.php\?post=/ // @include /fitnessholic.net\/token.php\?post=/
// @include /fitnessholic.net/
// @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.9.10 // @version 91.9.11
// @grant GM_setValue // @grant GM_setValue
// @grant GM_getValue // @grant GM_getValue
// @grant GM_addStyle // @grant GM_addStyle
@ -796,6 +796,7 @@
// @include /thotpacks.xyz/ // @include /thotpacks.xyz/
// @include /readytechflip.com/ // @include /readytechflip.com/
// @include /fitnessholic.net\/token.php\?post=/ // @include /fitnessholic.net\/token.php\?post=/
// @include /fitnessholic.net/
// @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/
@ -2424,7 +2425,8 @@
/thotpacks.xyz/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null; /thotpacks.xyz/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null;
// linkpays - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/48 // linkpays - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/48
/fitnessholic.net\/token.php\?post=/.test(url) ? redirect("https://exercise.fitnessholic.net/?go=" + url.split('?post=')[1]) : null; /fitnessholic.net\/token.php\?post=/.test(url) ? redirect("https://exercise.fitnessholic.net/?go=" + url.split('?post=')[1]) : null; //works for firefox only
/fitnessholic.net/.test(url) ? afterDOMLoaded(function() {redirect("https://exercise.fitnessholic.net/?go=" + document.querySelector('div[id="btn11"]').querySelector('input[name="newwpsafelink"]').value)}) : null; //redudancy needed for chrome
/readytechflip.com/.test(url) ? clickIfVisible('#tp-snp2') : null; /readytechflip.com/.test(url) ? clickIfVisible('#tp-snp2') : null;
})(); })();

View file

@ -150,6 +150,7 @@
// @include /thotpacks.xyz/ // @include /thotpacks.xyz/
// @include /readytechflip.com/ // @include /readytechflip.com/
// @include /fitnessholic.net\/token.php\?post=/ // @include /fitnessholic.net\/token.php\?post=/
// @include /fitnessholic.net/
// @run-at document-start // @run-at document-start
// ==/UserScript== // ==/UserScript==
@ -695,7 +696,8 @@
/thotpacks.xyz/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null; /thotpacks.xyz/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null;
// linkpays - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/48 // linkpays - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/48
/fitnessholic.net\/token.php\?post=/.test(url) ? redirect("https://exercise.fitnessholic.net/?go=" + url.split('?post=')[1]) : null; /fitnessholic.net\/token.php\?post=/.test(url) ? redirect("https://exercise.fitnessholic.net/?go=" + url.split('?post=')[1]) : null; //works for firefox only
/fitnessholic.net/.test(url) ? afterDOMLoaded(function() {redirect("https://exercise.fitnessholic.net/?go=" + document.querySelector('div[id="btn11"]').querySelector('input[name="newwpsafelink"]').value)}) : null; //redudancy needed for chrome
/readytechflip.com/.test(url) ? clickIfVisible('#tp-snp2') : null; /readytechflip.com/.test(url) ? clickIfVisible('#tp-snp2') : null;
})(); })();

View file

@ -775,6 +775,7 @@ https://paster.so/*
/thotpacks.xyz/ /thotpacks.xyz/
/readytechflip.com/ /readytechflip.com/
/fitnessholic.net\/token.php\?post=/ /fitnessholic.net\/token.php\?post=/
/fitnessholic.net/
/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/