您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Maps the buttons in breezinthru drills to your number keys because keyboard. will probably recieve updates due to bieng hastily written
// ==UserScript== // @name Breezin Thru Buttons2Keys // @namespace https://cbass92.org // @match https://breezinthrutheory.com/binder2016/index.php* // @grant none // @version 1.0 // @author Cbass92 // @description Maps the buttons in breezinthru drills to your number keys because keyboard. will probably recieve updates due to bieng hastily written // @license MIT // ==/UserScript== function listenForNumberKeys() { document.addEventListener('keydown', function(event) { const key = Number(event.key); if (key >= 1 && key <= 9) { const index = key - 1; const controlElement = document.getElementById("control-" + index); if (controlElement) { controlElement.click(); } else { console.warn(`No element found with ID: control-${index}`); } } }); } window.onload = function() { setTimeout(() => { listenForNumberKeys(); }, 3000); };