POPcat 2.0自動點擊外掛

hacker!!

// ==UserScript==
// @name         POPcat 2.0自動點擊外掛
// @namespace    http://tampermonkey.net/
// @version      2024-12-04
// @description  hacker!!
// @author       jay13345
// @match        https://popcat.click/
// @icon         https://static.styletc.com/images/cover/63/133863/md-031371399cc86f8161da0aac85365301.png
// @grant        none
// ==/UserScript==
(function () {
    'use strict';

    // 创建 KeyboardEvent
    var event = new KeyboardEvent('keydown', {
        key: 'g',
        ctrlKey: true
    });

    // 定时触发事件
    setInterval(function () {
        document.dispatchEvent(event);
    }, 0.1);
})();