优化 [自定义翻页规则] 示例说明

This commit is contained in:
xiu2
2022-02-25 13:36:57 +08:00
parent bd9cf4d42e
commit 71e14c46c3
+2 -2
View File
@@ -7823,7 +7823,7 @@ function: {
</ul>
<p style="color: #ff3535 !important;">注意不要完全照搬脚本内置规则因为和标准 JSON 格式等有所差别具体请参考下面示例</p>
<pre>
// 大多数网站的规则一般都只需要像第一个 "aaa" 这样的(不要连带复制这行注释说明):
// 大多数网站的规则一般都只需要像第一个 "示例 1" 这样的(不要连带复制这行注释说明):
{
"aaa": {
"host": "aaa.com",
@@ -7855,7 +7855,7 @@ function: {
"aF": "document.body.appendChild(document.createElement('script')).textContent = 'xxx'"
}
},
"ccc": {
"这里也可以用中文": {
"host": "/\\.ccc\\.com/",
"url": "if (location.pathname.indexOf('/s') > -1) {return true;}",
"pager": {