mirror of
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated.git
synced 2024-12-28 07:53:01 +05:00
add autoclick for hdpastes
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/170
This commit is contained in:
parent
871f81d5c5
commit
a87b41bb08
4 changed files with 14 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
// @run-at document-start
|
||||
// @author Amm0ni4
|
||||
// @noframes
|
||||
// @version 92.8.20
|
||||
// @version 92.8.21
|
||||
// @grant GM_setValue
|
||||
// @grant GM_getValue
|
||||
// @grant GM_addStyle
|
||||
|
@ -731,6 +731,7 @@
|
|||
// @include /mastramstories.com\/api.php\?api/
|
||||
// @include /onlinetntextbooks.com/
|
||||
// @include /www.saferoms.com\/\?go=/
|
||||
// @include /hdpastes.com\/\?v=/
|
||||
// @include /filecrypt.(cc|co)/
|
||||
// @include /^(https?:\/\/)(?!(bypass.city|adbypass.org))(linkvertise.com|(linkvertise|link-to).net)/
|
||||
// @include /(mega-enlace|acortados).com/
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
// @run-at document-start
|
||||
// @author Amm0ni4
|
||||
// @noframes
|
||||
// @version 92.8.20
|
||||
// @version 92.8.21
|
||||
// @grant GM_setValue
|
||||
// @grant GM_getValue
|
||||
// @grant GM_addStyle
|
||||
|
@ -731,6 +731,7 @@
|
|||
// @include /mastramstories.com\/api.php\?api/
|
||||
// @include /onlinetntextbooks.com/
|
||||
// @include /www.saferoms.com\/\?go=/
|
||||
// @include /hdpastes.com\/\?v=/
|
||||
// @include /filecrypt.(cc|co)/
|
||||
// @include /^(https?:\/\/)(?!(bypass.city|adbypass.org))(linkvertise.com|(linkvertise|link-to).net)/
|
||||
// @include /(mega-enlace|acortados).com/
|
||||
|
@ -2382,6 +2383,10 @@
|
|||
if (confirm(`Confirm to redirect to \n${dlLink.split('https://href.li/?')[1]}\n`)) {redirect(dlLink);}
|
||||
}) : null;
|
||||
|
||||
// https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/170
|
||||
const clickIfRecaptchaSolved = (selector) => { let intervalId = setInterval(() => { let button = document.querySelector(selector); if (window.grecaptcha.getResponse().length !== 0) { clearInterval(intervalId); button.click(); } }, 1000); };
|
||||
/hdpastes.com\/\?v=/.test(url) ? afterDOMLoaded(function() {clickIfRecaptchaSolved('.btn-success');}) : null;
|
||||
|
||||
})();
|
||||
|
||||
(function() {
|
||||
|
|
|
@ -181,6 +181,7 @@
|
|||
// @include /mastramstories.com\/api.php\?api/
|
||||
// @include /onlinetntextbooks.com/
|
||||
// @include /www.saferoms.com\/\?go=/
|
||||
// @include /hdpastes.com\/\?v=/
|
||||
// @run-at document-start
|
||||
// ==/UserScript==
|
||||
|
||||
|
@ -890,6 +891,10 @@
|
|||
if (confirm(`Confirm to redirect to \n${dlLink.split('https://href.li/?')[1]}\n`)) {redirect(dlLink);}
|
||||
}) : null;
|
||||
|
||||
// https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/170
|
||||
const clickIfRecaptchaSolved = (selector) => { let intervalId = setInterval(() => { let button = document.querySelector(selector); if (window.grecaptcha.getResponse().length !== 0) { clearInterval(intervalId); button.click(); } }, 1000); };
|
||||
/hdpastes.com\/\?v=/.test(url) ? afterDOMLoaded(function() {clickIfRecaptchaSolved('.btn-success');}) : null;
|
||||
|
||||
})();
|
||||
|
||||
(function() {
|
||||
|
|
|
@ -711,6 +711,7 @@ https://paster.so/*
|
|||
/mastramstories.com\/api.php\?api/
|
||||
/onlinetntextbooks.com/
|
||||
/www.saferoms.com\/\?go=/
|
||||
/hdpastes.com\/\?v=/
|
||||
/filecrypt.(cc|co)/
|
||||
/^(https?:\/\/)(?!(bypass.city|adbypass.org))(linkvertise.com|(linkvertise|link-to).net)/
|
||||
/(mega-enlace|acortados).com/
|
||||
|
|
Loading…
Reference in a new issue