Greasy Fork is available in English.

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~

< Opinie na AutoPager

Ocena: Dobry - skrypt działa

§
Napisano: 21-02-2022

https://www.tuao8.xyz/
手机版,求支持ヽ(•̀ω•́ )ゝ

X.I.UAutor
§
Napisano: 22-02-2022

这种露点的网站我是不会添加支持的,但是你可以用到 自定义翻页规则 功能(浏览器右上角扩展的脚本菜单里):

{
    "tuao8": {
        "host": "www.tuao8.xyz",
        "functionS": "if (location.pathname.indexOf('/post/') > -1) {return true;}",
        "pager": {
            "nextL": "css;li.next-page > a",
            "pageE": "css;.entry img",
            "replaceE": "css;#dm-fy",
            "scrollD": 1500
        }
    }
}
X.I.UAutor
§
Napisano: 23-02-2022

才发现你说的是手机版,我刚刚更新又优化了下 [自定义翻页规则] 功能,支持同一网站不同网页不同规则了,再次拿你这个做了下测试。
测试结果我也不浪费了,也发出来吧(因为电脑版、手机版页面域名和 URL 都一样,我只是用来测试所以懒得做判断,因此下面这两套规则不能共存)。

手机版:

{
    "tuao8": {
        "host": "www.tuao8.xyz",
        "functionS": "if (location.pathname == '/' || location.pathname.indexOf('/category') > -1) {return true;}",
        "pager": {
            "nextL": "css;li.next-page > a",
            "pageE": "css;article.excerpt",
            "replaceE": "css;.pagination",
            "scrollD": 1500
        }
    },
    "tuao8_post": {
        "host": "www.tuao8.xyz",
        "functionS": "if (location.pathname.indexOf('/post/') > -1) {return true;}",
        "pager": {
            "nextL": "css;li.next-page > a",
            "pageE": "css;.article-content img",
            "replaceE": "css;#dm-fy",
            "scrollD": 4000
        }
    }
}

电脑版:

{
    "tuao8": {
        "host": "www.tuao8.xyz",
        "functionS": "if (location.pathname == '/' || location.pathname.indexOf('/category') > -1) {return true;}",
        "pager": {
            "nextL": "css;span.page.now-page+a",
            "pageE": "css;article.post-box",
            "replaceE": "css;.pagenavi",
            "scrollD": 1500
        }
    },
    "tuao8_post": {
        "host": "www.tuao8.xyz",
        "functionS": "if (location.pathname.indexOf('/post/') > -1) {return true;}",
        "pager": {
            "nextL": "css;li.next-page > a",
            "pageE": "css;.entry img",
            "replaceE": "css;#dm-fy",
            "scrollD": 2000
        }
    }
}

Odpowiedz

Zaloguj się, by odpowiedzieć.