autoclick for last psa.wf button (by Anon991299)

https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/231
This commit is contained in:
Amm0ni4 2025-02-03 23:13:54 +01:00
parent d0d501c4e2
commit 0aeff98c33
4 changed files with 34 additions and 2 deletions

View file

@ -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)/

View file

@ -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() {

View file

@ -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() {

View file

@ -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)/