您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
auto checks the 15 second inspection checkbox on the cubemania timer
// ==UserScript== // @name Cubemania - Auto Select Inspection // @namespace https://gf.qytechs.cn/users/649 // @version 1.1.1 // @description auto checks the 15 second inspection checkbox on the cubemania timer // @author Adrien Pyke // @match *://www.cubemania.org/puzzles/*/timer // @grant GM_getValue // @grant GM_setValue // @grant GM_registerMenuCommand // ==/UserScript== (() => { 'use strict'; const Config = { getAutoSelect(key) { const value = GM_getValue(key); if (typeof value === 'undefined') return true; return value; }, setAutoSelect(key, value) { GM_setValue(key, value); } }; const puzzle = location.pathname.match(/^\/puzzles\/(.+)\//iu)[1]; const autoselect = Config.getAutoSelect(puzzle); if (autoselect) { document.querySelector('input.inspection-toggle').click(); } GM_registerMenuCommand( `${ autoselect ? 'Disable' : 'Enable' } "Auto Select Inspection" for ${puzzle}`, () => { Config.setAutoSelect(puzzle, !autoselect); location.reload(); } ); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址