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.04
// @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|mangasushi\.net)(?:.*)$/
// @namespace http://greasyfork.icu/users/165048
// ==/UserScript==
(function() {
'use strict';
let next, previous;
document.addEventListener("keyup", function(event) {
// mangakakalot, manganelo, mangasushi
previous = document.querySelector('.next') || document.querySelector('.navi-change-chapter-btn-prev') || document.querySelector('.prev_page');
next = document.querySelector('.back') || document.querySelector('.navi-change-chapter-btn-next') || document.querySelector('.next_page');
if (event.keyCode == 37 && previous !== null) {
previous.click()
} else if(event.keyCode == 39 && next !== null) {
next.click()
}
})
})();