POPCAT 自動點擊器

POPCAT 自動點擊

Version vom 13.08.2021. Aktuellste Version

  1. // ==UserScript==
  2. // @name POPCAT 自動點擊器
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.1.0
  5. // @description POPCAT 自動點擊
  6. // @author 聖冰如焰
  7. // @match https://popcat.click/
  8. // ==/UserScript==
  9.  
  10. 'use strict';
  11. let Stop = false;
  12. let event = new KeyboardEvent('keydown', {
  13. key: 'g',
  14. ctrlKey: true
  15. });
  16. let rundo = () => {
  17. if (!Stop) {
  18. for (let i = 0; i < 1000; i++)
  19. document.dispatchEvent(event);
  20. };
  21. requestAnimationFrame(rundo);
  22. }
  23. requestAnimationFrame(rundo);