Skip to content

Commit 71e14c4

Browse files
committed
优化 [自定义翻页规则] 示例说明
1 parent bd9cf4d commit 71e14c4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Autopage.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7823,7 +7823,7 @@ function: {
78237823
</ul>
78247824
<p style="color: #ff3535 !important;">注意:不要完全照搬脚本内置规则,因为和标准 JSON 格式等有所差别,具体请参考下面示例。</p>
78257825
<pre>
7826-
// 大多数网站的规则一般都只需要像第一个 "aaa" 这样的(不要连带复制这行注释说明):
7826+
// 大多数网站的规则一般都只需要像第一个 "示例 1" 这样的(不要连带复制这行注释说明):
78277827
{
78287828
"aaa": {
78297829
"host": "aaa.com",
@@ -7855,7 +7855,7 @@ function: {
78557855
"aF": "document.body.appendChild(document.createElement('script')).textContent = 'xxx'"
78567856
}
78577857
},
7858-
"ccc": {
7858+
"这里也可以用中文": {
78597859
"host": "/\\.ccc\\.com/",
78607860
"url": "if (location.pathname.indexOf('/s') > -1) {return true;}",
78617861
"pager": {

0 commit comments

Comments
 (0)