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

Question/comment

§
Posted: 2023-08-25

全站,除了 /forum 以外,其他url不翻页 规则应该怎么写

禁了就没有自定义规则,
打开 "url": "return fun.indexOF('/forum')" 不起作用 还是全站启用

X.I.UAuthor
§
Posted: 2023-08-25

自定义规则中使用 "url": "return fun.indexOF('/forum')" 即代表匹配到 URL 路径中含有 /forum 则应用该自定义规则。

如果路径中没有 /forum 则会需要向下匹配。

你这种情况看起来就是,其他页面继续向下匹配时,匹配到了其他规则,从而应用了规则。

理论上,再加一个空白的规则提前占住就行了(放在你写的自定义规则后面),你可以试试:

    "XXXX": {
        "host": "XXXX",
        "url": "return !fun.indexOF('/forum')",
    }

这样的话,会先匹配 /forum,如果是其他页面则会匹配到该空规则(该规则匹配规则和你的自定义规则相反)。

§
Posted: 2023-09-24

作者大大,很喜欢你的插件,很好用,想在手机端也使用,但是好像不适配😥

Post reply

Sign in to post a reply.