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-06-30

申请适配台湾的ptt论坛 ,页面示例https://www.ptt.cc/bbs/Gossiping/index38917.html,谢谢

X.I.UAuthor
§
Posted: 2024-07-01

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

    "ptt.cc": {
        "host": "www.ptt.cc",
        "url": "/^\\/bbs\\/.+\\/index/",
        "blank": 3,
        "pager": {
            "nextL": "//a[@class='btn wide'][contains(text(),'‹')]",
            "pageE": ".r-ent",
            "replaceE": ".btn-group-paging"
        }
    }

blank 是让该论坛的帖子列表页的帖子链接在新标签页打开,可以提高使用体验,如果实在不喜欢可以去掉。

§
Posted: 2024-07-03

好的,谢谢您

Post reply

Sign in to post a reply.