MangaNato (Formerly Manganelo) Scripts (Next/Prev Chapter & Image Resize)

Allows L/R arrow key navigation between chapters, reize chapter images using / key & allows for adding manga to be automatically resize with ].

< 脚本MangaNato (Formerly Manganelo) Scripts (Next/Prev Chapter & Image Resize)的反馈

评价:好评 - 脚本运行良好

§
发表于:2025-03-31

the script is not working on: https://www.natomanga.com can you please check and make it work please

Elijah Wales作者
§
发表于:2025-03-31

Hello, thanks for letting me know about this! I've updated the script and it should now work on natomanga.com.

§
发表于:2025-03-31

Hello, thanks for letting me know about this! I've updated the script and it should now work on natomanga.com.

hello thanks but i think you forgot to put the new website in the code // @match https://www.natomanga.com/*
and its still not working i made a code for it and it works : you can test it out and see if this works on the web site the use a class:NEXT CHAPTER

and here is the code i made you can use it:
// ==UserScript==
// @name NatoManga Chapter Navigation
// @namespace https://www.natomanga.com/
// @version 1.3
// @description Adds keyboard navigation for previous and next chapters on NatoManga
// @author Tirth Patel
// @match https://www.natomanga.com/*
// @grant none
// ==/UserScript==

(function() {
'use strict';

document.addEventListener('keydown', function(event) {
let chapterSelect = document.querySelector('select.navi-change-chapter');
if (!chapterSelect) return;

let options = Array.from(chapterSelect.options);
let currentIndex = options.findIndex(option => option.selected);

if (event.key === 'ArrowRight' && currentIndex > 0) {
window.location.href = options[currentIndex - 1].getAttribute('data-c');
} else if (event.key === 'ArrowLeft' && currentIndex < options.length - 1) {
window.location.href = options[currentIndex + 1].getAttribute('data-c');
}
});
})();

发表回复

登录(不可用)以发表回复。

QingJ © 2025

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