您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
2023/10/21 08:20:09
当前为
// ==UserScript== // @name humanbenchmark.com Cheats // @name:zh-CN 人类测试作弊工具 // @namespace Violentmonkey Scripts // @match https://humanbenchmark.com/tests/reactiontime // @grant GM_registerMenuCommand // @grant GM_unregisterMenuCommand // @grant GM_addValueChangeListener // @grant GM_setValue // @grant GM_getValue // @version 0.1 // @author - // @license MIT // @require https://greasyfork.org/scripts/476522-config-manager/code/Config_Manager.js?version=1264965 // @run-at document-idle // @description:zh-cn 尽情享受作弊之旅吧! // @description 2023/10/21 08:20:09 // ==/UserScript== 'use strict'; const cfg = [ { name: "delay", type: "uint", desc: "设置延迟", }, ]; cfg.forEach(register); const delay = n => new Promise(sol => setTimeout(sol, n)); const dd = document.querySelector('[data-test="true"]'); new MutationObserver(async (list, obs) => { await delay(config.delay); list.forEach(mu => { if (mu.type !== "attributes") return; if (mu.target.classList[0] == "view-go") { const args = { target: dd, buttons: 1, bubbles: true, cancelable: true, cancelBubble: false, }; const ev = new MouseEvent("mousedown", args); dd.dispatchEvent(ev); } }); }).observe(dd, {attributeFilter: ['class']}); // mousedown { target: div.view-go.e18o0sx0.css-saet2v.e19owgy77, buttons: 1, clientX: 115, clientY: 279, layerX: 115, layerY: 388 }