您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
try to make your life easier!
当前为
- // ==UserScript==
- // @name Scroll and click Next chapter timeless leaf with right button keyboard
- // @namespace https://openuserjs.org/users/Riztard/scripts
- // @version 0.4
- // @description try to make your life easier!
- // @author Riztard
- // @match *timelessleaf.com*
- // @include *timelessleaf.com*
- // @license MIT
- // @grant none
- // ==/UserScript==
- (function () {
- 'use strict';
- window.onkeydown = function (event) {
- if (event.keyCode === 39) {
- var el = document.getElementById('gallery-1');
- el.scrollIntoView(false);
- window.scrollBy(0, 200)
- window.location.href = document.getElementsByClassName("entry-content")[0].getElementsByTagName("a")[0].getAttribute("href");
- }
- };
- })();