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: 2022-02-26
Edited: 2022-02-26

您好,能否适配一下英文版盖世汽车新闻? https://autonews.gasgoo.com/
主要是 china_news、New Energy 、ICV 这几个栏目。

X.I.UAuthor
§
Posted: 2022-02-27
Edited: 2022-02-27

点击右上角 Tampermonkey 扩展中脚本菜单 自定义翻页规则,把规则粘贴到输入框默认的 { } 中间保存即可。

所有分类页、搜索页:

    "盖世汽车英文版": {
        "host": "autonews.gasgoo.com",
        "url": "if (location.pathname != '/' && location.pathname.indexOf('.html') == -1) {return true;}",
        "pager": {
            "nextL": "a.pageright",
            "pageE": ".newsListShow > ul",
            "replaceE": ".page"
        }
    }

后续我可能会做个外置在线规则列表放到脚本里,将一些简单的、偏小众的网站规则放进去。

§
Posted: 2022-02-27

现在好用了,多谢了

Post reply

Sign in to post a reply.