added small delay to gplinks

This commit is contained in:
Amm0ni4 2024-03-17 15:46:09 +01:00
parent f407ea442f
commit 45247e392f
3 changed files with 6 additions and 6 deletions

View file

@ -3,7 +3,7 @@
// @namespace Violentmonkey Scripts
// @run-at document-start
// @author Amm0ni4
// @version 91.5.15
// @version 91.5.16
// @grant GM_setValue
// @grant GM_getValue
// @grant GM_addStyle

View file

@ -3,7 +3,7 @@
// @namespace Violentmonkey Scripts
// @run-at document-start
// @author Amm0ni4
// @version 91.5.15
// @version 91.5.16
// @grant GM_setValue
// @grant GM_getValue
// @grant GM_addStyle
@ -2081,8 +2081,8 @@
// toonsouthindia.com and psa.wf (partial bypass. sometimes it makes you disable ublock and click ads to continue)
if (/instander.me|jameen.xyz|dhamakamusic.ink|eternalcbse.i|financialstudy.me|(foreverhealth|newzwala.co|nhmgujarat|jobkijankari|jobwaala|learnwithsaif|lyricsx|smartsetkari|theringtonesworld|recruitmentrasta|mediniweb|pmyojanasarkari|netflixvip|mghindinews|gentletrail|w3hindi|ryzenmusic).in|(anumin|awolio|cgbsesupport|gptproguide|iplquotes|kaisekareblog|minijankari|news36tech|newsloti|odiamusicsong|sugargliderfaqs|picassoappk|geniuseducares|ndlifestylego|raidersixgameapk|sarkariexam365|potter-world|jankari4u).com/.test(url)) {
const clickIfVisible2 = (selector) => setInterval(() => { const button = document.querySelector(selector); if (button && button.style.display === 'block') { button.click(); clearInterval(intervalId); } }, 1000);
const clickIfLinkIsReady = buttonSelector => setInterval(() => { const button = document.querySelector(buttonSelector); if (button && button.getAttribute('href') !== '#') button.click(); }, 1000);
const clickIfVisible2 = (selector) => setInterval(() => { const button = document.querySelector(selector); if (button && button.style.display === 'block') { setTimeout(function() {button.click()}, 500);; clearInterval(intervalId); } }, 1000);
const clickIfLinkIsReady = buttonSelector => setInterval(() => { const button = document.querySelector(buttonSelector); if (button && button.getAttribute('href') !== '#') setTimeout(function() {button.click()}, 500);; }, 1000);
afterDOMLoaded(function() {
count = 0; //Skip the timer
clickIfVisible2('#VerifyBtn');

View file

@ -358,8 +358,8 @@
// toonsouthindia.com and psa.wf (partial bypass. sometimes it makes you disable ublock and click ads to continue)
if (/instander.me|jameen.xyz|dhamakamusic.ink|eternalcbse.i|financialstudy.me|(foreverhealth|newzwala.co|nhmgujarat|jobkijankari|jobwaala|learnwithsaif|lyricsx|smartsetkari|theringtonesworld|recruitmentrasta|mediniweb|pmyojanasarkari|netflixvip|mghindinews|gentletrail|w3hindi|ryzenmusic).in|(anumin|awolio|cgbsesupport|gptproguide|iplquotes|kaisekareblog|minijankari|news36tech|newsloti|odiamusicsong|sugargliderfaqs|picassoappk|geniuseducares|ndlifestylego|raidersixgameapk|sarkariexam365|potter-world|jankari4u).com/.test(url)) {
const clickIfVisible2 = (selector) => setInterval(() => { const button = document.querySelector(selector); if (button && button.style.display === 'block') { button.click(); clearInterval(intervalId); } }, 1000);
const clickIfLinkIsReady = buttonSelector => setInterval(() => { const button = document.querySelector(buttonSelector); if (button && button.getAttribute('href') !== '#') button.click(); }, 1000);
const clickIfVisible2 = (selector) => setInterval(() => { const button = document.querySelector(selector); if (button && button.style.display === 'block') { setTimeout(function() {button.click()}, 500);; clearInterval(intervalId); } }, 1000);
const clickIfLinkIsReady = buttonSelector => setInterval(() => { const button = document.querySelector(buttonSelector); if (button && button.getAttribute('href') !== '#') setTimeout(function() {button.click()}, 500);; }, 1000);
afterDOMLoaded(function() {
count = 0; //Skip the timer
clickIfVisible2('#VerifyBtn');