AutoPager

⭐Append the next page content to the bottom seamlessly (like a waterfall, Unlimited scrolling, no need to manually click on the next page) ⭐, support various forums, social networking, games, comics, novels, academics, search engines (Google, Bing, Yahoo...) and other websites~

< Feedback on AutoPager

Question/comment

§
Posted: 02.09.2024
X.I.UAuthor
§
Posted: 02.09.2024

复制粘贴到脚本 自定义翻页规则 默认的 { } 中间保存(浏览器右上角 Tampermonkey 扩展图标内的脚本菜单)

"m.zygxzqt.com": {
        "host": "m.zygxzqt.com",
        "url": "if(fun.isPager('p')){fun.xs_bF(fun.getAllCSS('#novelcontent'),[/(&nbsp;)+(内容未完,下一页|【本章阅读完毕).+/,'']);return true}",
        "style": "#novelcontent>p",
        "pager": {
            "nextL": ".p4[href$='html']",
            "pageE": "#novelcontent",
            "insertP": ["#novelcontent",6]
        },
        "function": {
            "bF": "return fun.xs_bF(pageE,[/(&nbsp;)+(内容未完,下一页|【本章阅读完毕).+/,''])"
        }
    }

另外,建议你更新一下脚本,新版本解决了 自定义翻页规则 中的部分 HTML 标签被语义化显示的问题(如上面规则里的 &nbsp;),如果不更新,第一次写入自定义规则并保存是正常的,但如果再次打开自定义翻页规则界面,这个 HTML 标签就会被显示为空格(也就是语义化了),此时再去保存就会导致把规则内语义化后的给保存起来了,就会导致这行规则失效(这行规则是用来去除 每页、每章末尾无关文字的)。

包括每页开头的 《关闭小说畅读模式体验更好》 我也给顺便去除了。

Post reply

Sign in to post a reply.