您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Ctrl + Arrow Key navigation.
// ==UserScript== // @name [WM] Accesskey Navigation for Animekisa.tv // @namespace https://github.com/WidgetMidget/scripts-and-userstyles // @author WidgetMidget // @description Ctrl + Arrow Key navigation. // @version 1.1.31 // @icon https://raw.githubusercontent.com/WidgetMidget/scripts-and-userstyles/master/resources/favicons/animekisa-tv.png // @supportURL https://github.com/WidgetMidget/scripts-and-userstyles/issues // @match *://*.animekisa.tv/* // @require https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js // ==/UserScript== /* globals $ */ document.addEventListener('keydown', function(e){ if (e.ctrlKey && !e.shiftKey && !e.altKey && !e.metaKey) { switch (e.keyCode) { case 37: $("#playerselector").find("option:selected").prev().prop("selected", true).trigger("change"); break; case 39: $("#playerselector").find("option:selected").next().prop("selected", true).trigger("change"); break; } } }, true);