Popcat Autoclicker

sum autoclicker

  1. // ==UserScript==
  2. // @name Popcat Autoclicker
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description sum autoclicker
  6. // @author actuallyreal
  7. // @match https://popcat.click/
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=popcat.click
  9. // @grant none
  10. // @license MIT
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15. alert("press E to enable autoclicker");
  16.  
  17. function Autoclicker(e) {
  18. e.code == 'KeyE' && (setInterval(()=>{document.dispatchEvent(new Event("keydown"))},40))
  19. };
  20. addEventListener('keypress', Autoclicker);
  21. // Your code here...
  22. })();