mirror of
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated.git
synced 2025-01-18 17:03:47 +05:00
add autoclicks for adsafelink / link2unlock
This commit is contained in:
parent
1e8d3793f5
commit
2793ad5266
4 changed files with 24 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
// @run-at document-start
|
||||
// @author Amm0ni4
|
||||
// @noframes
|
||||
// @version 93.4.16
|
||||
// @version 93.4.17
|
||||
// @grant GM_setValue
|
||||
// @grant GM_getValue
|
||||
// @grant GM_addStyle
|
||||
|
@ -716,6 +716,7 @@
|
|||
// @include /paster.gg/
|
||||
// @include /go.zovo.ink/
|
||||
// @include /^https:\/\/kisalt\.com\/.*/
|
||||
// @include /app.link2unlock.com/
|
||||
// @include /filecrypt.(cc|co)/
|
||||
// @include /(mega-enlace|acortados).com/
|
||||
// @include /^https:\/\/.*\.((tradeshowrating|historyofyesterday|insurelean).com|playonpc.online|quins.us)\/.*/
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
// @run-at document-start
|
||||
// @author Amm0ni4
|
||||
// @noframes
|
||||
// @version 93.4.16
|
||||
// @version 93.4.17
|
||||
// @grant GM_setValue
|
||||
// @grant GM_getValue
|
||||
// @grant GM_addStyle
|
||||
|
@ -716,6 +716,7 @@
|
|||
// @include /paster.gg/
|
||||
// @include /go.zovo.ink/
|
||||
// @include /^https:\/\/kisalt\.com\/.*/
|
||||
// @include /app.link2unlock.com/
|
||||
// @include /filecrypt.(cc|co)/
|
||||
// @include /(mega-enlace|acortados).com/
|
||||
// @include /^https:\/\/.*\.((tradeshowrating|historyofyesterday|insurelean).com|playonpc.online|quins.us)\/.*/
|
||||
|
@ -2645,6 +2646,15 @@
|
|||
//const redirectIfCloudflareCaptchaSolved = (selector) => { let intervalId = setInterval(() => { let button = document.querySelector(selector); if (checkCloudflareCaptchaSolved()) { clearInterval(intervalId); redirect(button.href); } }, 1000); };
|
||||
/link.paid4link.com/.test(url) ? afterDOMLoaded(function() { redirectIfExists('#get-link-button');}) : null;
|
||||
|
||||
// adsafelink / link2unlock - https://github.com/realodix/AdBlockID/issues/1874
|
||||
const clickIfCloudflareCaptchaSolved = (selector) => { let intervalId = setInterval(() => { let button = document.querySelector(selector); if (checkCloudflareCaptchaSolved()) { clearInterval(intervalId); button.click(); } }, 1000); };
|
||||
/app.link2unlock.com/.test(url) ? afterDOMLoaded(function() {
|
||||
clickIfExists('#btn-1');
|
||||
clickIfExists('#btn-2');
|
||||
clickIfCloudflareCaptchaSolved('#btn-3');
|
||||
clickIfExists('#submit-button');
|
||||
}) : null;
|
||||
|
||||
})();
|
||||
|
||||
(function() {
|
||||
|
|
|
@ -210,6 +210,7 @@
|
|||
// @include /^https:\/\/kisalt\.com\/.*/
|
||||
// @match *://*.ukrupdate.com/*
|
||||
// @match *://*.aryx.xyz/*
|
||||
// @include /app.link2unlock.com/
|
||||
// @run-at document-start
|
||||
// ==/UserScript==
|
||||
|
||||
|
@ -1203,6 +1204,15 @@
|
|||
//const redirectIfCloudflareCaptchaSolved = (selector) => { let intervalId = setInterval(() => { let button = document.querySelector(selector); if (checkCloudflareCaptchaSolved()) { clearInterval(intervalId); redirect(button.href); } }, 1000); };
|
||||
/link.paid4link.com/.test(url) ? afterDOMLoaded(function() { redirectIfExists('#get-link-button');}) : null;
|
||||
|
||||
// adsafelink / link2unlock - https://github.com/realodix/AdBlockID/issues/1874
|
||||
const clickIfCloudflareCaptchaSolved = (selector) => { let intervalId = setInterval(() => { let button = document.querySelector(selector); if (checkCloudflareCaptchaSolved()) { clearInterval(intervalId); button.click(); } }, 1000); };
|
||||
/app.link2unlock.com/.test(url) ? afterDOMLoaded(function() {
|
||||
clickIfExists('#btn-1');
|
||||
clickIfExists('#btn-2');
|
||||
clickIfCloudflareCaptchaSolved('#btn-3');
|
||||
clickIfExists('#submit-button');
|
||||
}) : null;
|
||||
|
||||
})();
|
||||
|
||||
(function() {
|
||||
|
|
|
@ -697,6 +697,7 @@ https://paster.so/*
|
|||
/paster.gg/
|
||||
/go.zovo.ink/
|
||||
/^https:\/\/kisalt\.com\/.*/
|
||||
/app.link2unlock.com/
|
||||
/filecrypt.(cc|co)/
|
||||
/(mega-enlace|acortados).com/
|
||||
/^https:\/\/.*\.((tradeshowrating|historyofyesterday|insurelean).com|playonpc.online|quins.us)\/.*/
|
||||
|
|
Loading…
Reference in a new issue