您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
Left and Right keyboard arrow key navigation to the previous or next chapter in the manga
当前为
// ==UserScript== // @name Mangakatana Left/Right Arrow Key Chapter Navigation // @author derickmj // @version 1.00 // @description Left and Right keyboard arrow key navigation to the previous or next chapter in the manga // @grant none // @include /^https?:\/\/(?:www\.)?(mangakatana\.com)(?:.*)$/ // @namespace http://greasyfork.icu/users/417388 // ==/UserScript== (function() { 'use strict'; document.addEventListener("keyup", function(event) { const previous = document.querySelector('.next'), next = document.querySelector('.prev'); if (event.keyCode == 39 && previous !== null) { previous.click() } else if(event.keyCode == 37 && next !== null) { next.click() } }) })();