Project Endor (Jamelio) Keybinds

Make keybinds for the Project Endor (Jamelio) voice recording hits.

目前为 2016-04-22 提交的版本。查看 最新版本

// ==UserScript==
// @name         Project Endor (Jamelio) Keybinds
// @namespace    http://kadauchi.com/
// @version      1.0.2
// @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 49: // 1 (Record)
        case 97: // Numpad1 (Record)
            $("div[id^=g]").eq(0).children().children().trigger("mousedown");
            break;
        case 50: // 2 (Play)
        case 98: // Numpad2 (Play)
            $("div[id^=g]").eq(1).children().children().trigger("mousedown");
            break;
        case 51: // 3 (Submit)
        case 99: // Numpad2 (Submit)
            $("input[type='submit']").click();
            break;
        default: return;
    }
});

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址