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~

< Feedback on AutoPager

Review: قالتىس - قوليازما ئىشلەيدۇ

§
يوللانغان ۋاقتى: 2022-06-05

您好,申请适配。https://mcpedl.com/

X.I.Uئاپتور
§
يوللانغان ۋاقتى: 2022-06-05

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

    "mcpedl": {
        "host": "mcpedl.com",
        "url": "fun.isUrlC(); return (fun.getCSS('.next-page') && fun.getCSS('.content__wrap-row'))",
        "pager": {
            "type": 6,
            "nextL": ".next-page",
            "pageE": ".content__wrap-row",
            "replaceE": ".navigate-page",
            "loadTime": 1000,
            "scrollD": 2000
        }
    }

因为该网站图片加载方式特殊,只能采用翻页模式 6,即后台完整加载下一页内容,而 loadTime 就是预留的加载时间,而 scrollD 值越大就越早触发翻页,你可根据需要适当调整这两个数值。

另外,该网站因为会强行在当前网页打开链接,所以为了提高使用体检,建议新标签页打开链接(如鼠标中键、Ctrl+鼠标左键),否则频繁手动后退网页会很蛋疼,且影响脚本操作逻辑。

X.I.Uئاپتور
§
يوللانغان ۋاقتى: 2022-06-06

因为脚本自带的 3 个 blank 规则都无法解决前面说的新标签页打开链接问题,所以我又研究了下更新了脚本,新加了个 blank: 4 翻页规则,来解决该问题。

因此你需要 更新脚本 一下,然后改用下面这个自定义翻页规则(其实就是加了条 "blank": 4, 规则),这样点击链接时就会强制新标签页打开了。

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

    "mcpedl": {
        "host": "mcpedl.com",
        "url": "fun.isUrlC(); return (fun.getCSS('.next-page') && fun.getCSS('.content__wrap-row'))",
        "blank": 4,
        "pager": {
            "type": 6,
            "nextL": ".next-page",
            "pageE": ".content__wrap-row",
            "replaceE": ".navigate-page",
            "loadTime": 1000,
            "scrollD": 2000
        }
    }

جاۋاب قايتۇرۇش

جاۋاب قايتۇرۇش ئۈچۈن كىرىش.