From 5769a8940274dc866df8df89fe45b5fe21759030 Mon Sep 17 00:00:00 2001 From: Amm0ni4 Date: Tue, 2 Jul 2024 13:58:27 +0200 Subject: [PATCH] add autoclicks for vnshortener https://github.com/uBlockOrigin/uAssets/discussions/17361#discussioncomment-9934577 --- Bypass_All_Shortlinks.meta.js | 4 +++- Bypass_All_Shortlinks.user.js | 12 +++++++++++- extra_bypasses/extra_bypasses.user.js | 10 ++++++++++ supported_sites.txt | 2 ++ 4 files changed, 26 insertions(+), 2 deletions(-) diff --git a/Bypass_All_Shortlinks.meta.js b/Bypass_All_Shortlinks.meta.js index 9d843fb..e04676f 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 92.2.19 +// @version 92.2.20 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -797,6 +797,8 @@ // @include /surfsees.com|fitnessholic.net/ // @include /cgsonglyricz.in|www.techhubcap.com/ // @include /techyblogs.in|readytechflip.com/ +// @include /kbconlinegame.com/ +// @include /odijob.com/ // @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 /mega-enlace.com/ diff --git a/Bypass_All_Shortlinks.user.js b/Bypass_All_Shortlinks.user.js index e24c1d9..4d71409 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 92.2.19 +// @version 92.2.20 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -797,6 +797,8 @@ // @include /surfsees.com|fitnessholic.net/ // @include /cgsonglyricz.in|www.techhubcap.com/ // @include /techyblogs.in|readytechflip.com/ +// @include /kbconlinegame.com/ +// @include /odijob.com/ // @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 /mega-enlace.com/ @@ -2432,6 +2434,14 @@ // uploadrar - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/87 /flash.getpczone.com/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('#downloadbtn')}) : null; + // https://github.com/uBlockOrigin/uAssets/discussions/17361#discussioncomment-9934577 + const clickIfExistsWithDelay = (selector, delay) => {setTimeout(function() {clickIfExists(selector);}, delay);}; + /kbconlinegame.com/.test(url) ? afterDOMLoaded(function() { + clickIfExists('#pro-continue'); + clickIfExistsWithDelay('#pro-btn', 2000); + }) : null; + /odijob.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('#my-btn')}) : null; + })(); (function() { diff --git a/extra_bypasses/extra_bypasses.user.js b/extra_bypasses/extra_bypasses.user.js index 9a46a2f..d03afce 100644 --- a/extra_bypasses/extra_bypasses.user.js +++ b/extra_bypasses/extra_bypasses.user.js @@ -159,6 +159,8 @@ // @include /surfsees.com|fitnessholic.net/ // @include /cgsonglyricz.in|www.techhubcap.com/ // @include /techyblogs.in|readytechflip.com/ +// @include /kbconlinegame.com/ +// @include /odijob.com/ // @run-at document-start // ==/UserScript== @@ -749,6 +751,14 @@ // uploadrar - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/87 /flash.getpczone.com/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('#downloadbtn')}) : null; + // https://github.com/uBlockOrigin/uAssets/discussions/17361#discussioncomment-9934577 + const clickIfExistsWithDelay = (selector, delay) => {setTimeout(function() {clickIfExists(selector);}, delay);}; + /kbconlinegame.com/.test(url) ? afterDOMLoaded(function() { + clickIfExists('#pro-continue'); + clickIfExistsWithDelay('#pro-btn', 2000); + }) : null; + /odijob.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('#my-btn')}) : null; + })(); (function() { diff --git a/supported_sites.txt b/supported_sites.txt index 9182d93..c6a3bc8 100644 --- a/supported_sites.txt +++ b/supported_sites.txt @@ -777,6 +777,8 @@ https://paster.so/* /surfsees.com|fitnessholic.net/ /cgsonglyricz.in|www.techhubcap.com/ /techyblogs.in|readytechflip.com/ +/kbconlinegame.com/ +/odijob.com/ /filecrypt.(cc|co)/ /(loot-link.com|loot-links.com|lootlink.org|lootlinks.co|lootdest.(info|org|com)|links-loot.com|linksloot.net)\/s\?.*$/ /mega-enlace.com/