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