Return any HIT with a press of a key.
当前为
// ==UserScript==
// @name Keybind HIT Return for Turkernator
// @namespace https://github.com/Kadauchi
// @version 1.0.0
// @description Return any HIT with a press of a key.
// @author Kadauchi
// @include *
// ==/UserScript==
// Visit https://keycode.info/ and use the event.code to change this value.
const eventCode = 'NumpadSubtract'; // 'NumpadSubtract' is the default.
document.addEventListener('keydown', (event) => {
if (event.code === eventCode) {
TKNR.hitReturn();
}
});