您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Make NovelUpdates scroll to the chapter list automatically when you click on pagination
当前为
// ==UserScript== // @name NU Scroll To Chapter List // @namespace ultrabenosaurus.novelupdates.scrollToChapters // @version 0.1 // @description Make NovelUpdates scroll to the chapter list automatically when you click on pagination // @author Ultrabenosaurus // @match https://www.novelupdates.com/series/* // @grant none // ==/UserScript== (function() { 'use strict'; var pages=document.querySelectorAll('.digg_pagination>a'); var pLength=pages.length; for(var i=0;i<pLength;i++){ if(pages[i].hash.split("#myTable").length!=2){ pages[i].hash+="#myTable"; } } pages=null; pLength=null; i=null; })();