001

3/8/2025, 11:28:25 PM

  1. // ==UserScript==
  2. // @name 001
  3. // @namespace Violentmonkey Scripts
  4. // @match https://jyqx.online/*
  5. // @match https://fazy.online/*
  6. // @match https://whatgame.xyz/*
  7. // @match https://qyix.online/*
  8. // @grant none
  9. // @version 1.0
  10. // @author -
  11. // @description 3/8/2025, 11:28:25 PM
  12. // ==/UserScript==
  13. function clickButtonWithDelay(cssSelector, delay) {
  14. setTimeout(() => {
  15. const button = document.querySelector(cssSelector);
  16. if (button) {
  17. button.click();
  18. } else {
  19. console.log('Button not found!');
  20. }
  21. }, delay);
  22. }
  23.  
  24. // Example usage: Click the button with a 2-second delay (2000 milliseconds)
  25. clickButtonWithDelay('#next', 20000);