AutoPager

Append the next page content to the bottom seamlessly (like a waterfall, Unlimited scrolling, no need to manually click on the next page)~

< Feedback on AutoPager

Review: Good - script works

§
Posted: 2024-11-23

请求适配https://www.freedidi.com/

X.I.UAuthor
§
Posted: 2024-11-23

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

    "零度博客": {
        "host": "www.freedidi.com",
        "url": "return fun.isPager()",
        "blank": 3,
        "pager": {
            "nextL": ".posts-row a.next.page-numbers",
            "pageE": ".posts-row>posts",
            "replaceE": ".posts-row>.pagenav"
        }
    }

该网站是用的 WordPress 博客系统,也确实匹配到了脚本内置的 WordPress 通用规则,但却只能翻一页,这是因为该网站侧栏也有个带页码的元素,导致脚本通用规则无法适配,因此把通用规则拿出来简单改改就行了。

Post reply

Sign in to post a reply.