NU Scroll To Chapter List

Make NovelUpdates scroll to the chapter list automatically when you click on pagination

目前為 2020-01-20 提交的版本,檢視 最新版本

// ==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;
})();

QingJ © 2025

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