您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
A navigator to read the various mangas on multiple scan groups. Left arrow for previous chapter, right arrow for next chaper. Home button is back to the overview screen of the manga
当前为
// ==UserScript== // @name Navigator for Reaper Scans/Leviatan Scans/Zero Scans/No Names Scans/KKJ Scans/Edelgarde Scans // @namespace secpick.ReaperScans // @version 0.1 // @description A navigator to read the various mangas on multiple scan groups. Left arrow for previous chapter, right arrow for next chaper. Home button is back to the overview screen of the manga // @author secpick // @match https://reaperscans.com/comics/* // @match https://leviatanscans.com/comics/* // @match https://zeroscans.com/comics/* // @match https://the-nonames.com/comics/* // @match https://kkjscans.co/comics/* // @match https://edelgardescans.com/comics/* // @grant none // ==/UserScript== (function() { 'use strict'; document.onkeydown = checkKey; function get_href(which) { var btn_class = which == 'home' ? 'fa-home-alt' : 'fa-arrow-' + which var btn = document.getElementsByClassName(btn_class)[0] if (btn) { return btn.parentElement.href } } function checkKey(e) { e = e || window.event; if (e.keyCode == '39') { // right arrow window.location = get_href('right') || get_href('home') } else if (e.keyCode == '37') { // left arrow window.location = get_href('left') || get_href('home') } else if (e.keyCode == '36') { // home window.location = get_href('home') } } })();