您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Keyboard shortcuts for faster navigation on Nitro Type
// ==UserScript== // @name Nitro Type Shortcut Navigator // @namespace http://tampermonkey.net/ // @version 1.0 // @description Keyboard shortcuts for faster navigation on Nitro Type // @author Ayaan Noor // @match https://www.nitrotype.com/* // @license MIT // @grant none // ==/UserScript== (function() { 'use strict'; document.addEventListener('keydown', function(e) { if (e.altKey && !e.shiftKey && !e.ctrlKey) { switch (e.key.toLowerCase()) { case 'p': // Alt + P -> Profile window.location.href = '/profile'; break; case 'g': // Alt + G -> Garage window.location.href = '/garage'; break; case 'r': // Alt + R -> Race window.location.href = '/race'; break; case 'f': // Alt + F -> Friends window.location.href = '/friends'; break; case 's': // Alt + S -> Shop window.location.href = '/shop'; break; } } }); })();