您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Make keybinds for the Project Endor (Jamelio) voice recording hits.
当前为
// ==UserScript== // @name Project Endor (Jamelio) Keybinds // @namespace http://kadauchi.com/ // @version 1.0.1 // @description Make keybinds for the Project Endor (Jamelio) voice recording hits. // @author Kadauchi // @icon http://kadauchi.com/avatar.jpg // @include https://www.google.com/evaluation/endor/* // @grant GM_log // @require https://code.jquery.com/jquery-2.1.4.min.js // ==/UserScript== window.focus(); $(document).keydown(function(e){ switch(e.which){ case 97: // Numpad1 (Record) $("div[id^=g]").eq(0).children().children().trigger("mousedown"); break; case 98: // Numpad2 (Play) $("div[id^=g]").eq(1).children().children().trigger("mousedown"); break; case 13: // Enter (Submit) $("input[type='submit']").click(); break; default: return; } });