From 0aeff98c3333f26d66b98c18679bb65832b0d0e3 Mon Sep 17 00:00:00 2001 From: Amm0ni4 Date: Mon, 3 Feb 2025 23:13:54 +0100 Subject: [PATCH] autoclick for last psa.wf button (by Anon991299) https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/231 --- Bypass_All_Shortlinks.meta.js | 3 ++- Bypass_All_Shortlinks.user.js | 17 ++++++++++++++++- extra_bypasses/extra_bypasses.user.js | 15 +++++++++++++++ supported_sites.txt | 1 + 4 files changed, 34 insertions(+), 2 deletions(-) diff --git a/Bypass_All_Shortlinks.meta.js b/Bypass_All_Shortlinks.meta.js index 3e4ed5a..934484a 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 93.4.40 +// @version 93.4.41 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -508,6 +508,7 @@ // @match *://dailyuploads.net/* // @match *://www.ryuugames.com/?eroge=* // @match *://anchoreth.com/r-adsh?t=i&v=* +// @match *://psa.btcut.io/* // @match https://paster.so/* // @include /^(https?:\/\/)(loot-link.com|loot-links.com|lootlink.org|lootlinks.co|lootdest.(info|org|com)|links-loot.com|linksloot.net)\/s\?.*$/ // @include /(mundopolo.net|myfirstdollar.net|adsense.tupaste.top|acorta2.com|web.admoneyclick.net|acortaphd.live|onlypc.net|link.manudatos.com)/ diff --git a/Bypass_All_Shortlinks.user.js b/Bypass_All_Shortlinks.user.js index 2c30a70..8b29b76 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 93.4.40 +// @version 93.4.41 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -508,6 +508,7 @@ // @match *://dailyuploads.net/* // @match *://www.ryuugames.com/?eroge=* // @match *://anchoreth.com/r-adsh?t=i&v=* +// @match *://psa.btcut.io/* // @match https://paster.so/* // @include /^(https?:\/\/)(loot-link.com|loot-links.com|lootlink.org|lootlinks.co|lootdest.(info|org|com)|links-loot.com|linksloot.net)\/s\?.*$/ // @include /(mundopolo.net|myfirstdollar.net|adsense.tupaste.top|acorta2.com|web.admoneyclick.net|acortaphd.live|onlypc.net|link.manudatos.com)/ @@ -2714,6 +2715,20 @@ }) : null; /anchoreth.com\/r-adsh\?t=i&v=.*$/.test(url) ? redirect(atob(url.split('&v=')[1].split('&')[0])) : null; + // button click for psa.btcut.io (#aaoii2o button) - psa.wf + /psa.btcut.io/.test(url) ? afterDOMLoaded(function() { + let clicked = false; + function tryClickLink() { + document.querySelectorAll("a").forEach(link => { + if (!clicked && link.textContent.includes("Get Link") && link.href) { + clicked = true; + window.location = link.href; + } + }); + } + setInterval(tryClickLink, 500); + }) : null; + })(); (function() { diff --git a/extra_bypasses/extra_bypasses.user.js b/extra_bypasses/extra_bypasses.user.js index 4842a30..a106416 100644 --- a/extra_bypasses/extra_bypasses.user.js +++ b/extra_bypasses/extra_bypasses.user.js @@ -218,6 +218,7 @@ // @match *://www.ryuugames.com/?eroge=* // @match *://anchoreth.com/r-adsh?t=i&v=* // @include /app2.olamovies.download\/generate\/\?id=/ +// @match *://psa.btcut.io/* // @run-at document-start // ==/UserScript== @@ -1274,6 +1275,20 @@ }) : null; /anchoreth.com\/r-adsh\?t=i&v=.*$/.test(url) ? redirect(atob(url.split('&v=')[1].split('&')[0])) : null; + // button click for psa.btcut.io (#aaoii2o button) - psa.wf + /psa.btcut.io/.test(url) ? afterDOMLoaded(function() { + let clicked = false; + function tryClickLink() { + document.querySelectorAll("a").forEach(link => { + if (!clicked && link.textContent.includes("Get Link") && link.href) { + clicked = true; + window.location = link.href; + } + }); + } + setInterval(tryClickLink, 500); + }) : null; + })(); (function() { diff --git a/supported_sites.txt b/supported_sites.txt index 1e67bff..8463c7b 100644 --- a/supported_sites.txt +++ b/supported_sites.txt @@ -489,6 +489,7 @@ https://datanodes.to/download *://dailyuploads.net/* *://www.ryuugames.com/?eroge=* *://anchoreth.com/r-adsh?t=i&v=* +*://psa.btcut.io/* https://paster.so/* /^(https?:\/\/)(loot-link.com|loot-links.com|lootlink.org|lootlinks.co|lootdest.(info|org|com)|links-loot.com|linksloot.net)\/s\?.*$/ /(mundopolo.net|myfirstdollar.net|adsense.tupaste.top|acorta2.com|web.admoneyclick.net|acortaphd.live|onlypc.net|link.manudatos.com)/