您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Makes the image a link to the next comic, and arrow keys control movement.
// ==UserScript== // @name Dumbing of Age Comic Next Link // @namespace https://gf.qytechs.cn/en/users/1378062-leon-barrett // @description Makes the image a link to the next comic, and arrow keys control movement. // @match https://www.dumbingofage.com/*/comic/* // @version 0.1 // @grant none // @license unlicense // ==/UserScript== function getNextAndPrevious() { const prev = document.querySelector("a.navi-prev"); const next = document.querySelector("a.navi-next"); return {prev: prev, next: next}; } var links = getNextAndPrevious(); function leftArrowPressed() { if (links.prev) { window.location = links.prev.href; } } function rightArrowPressed() { if (links.next) { window.location = links.next.href; } } document.onkeydown = function(evt) { evt = evt || window.event; switch (evt.keyCode) { case 37: leftArrowPressed(); break; case 39: rightArrowPressed(); break; } };
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址