Skip to content

Commit 6be410c

Browse files
committed
新增 [Github - Issue/Discussions/Pull - loadmore] 支持
1 parent 19a090d commit 6be410c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

other/Autopage/rules.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4866,12 +4866,12 @@
48664866
"replaceE": ".pagination"
48674867
}
48684868
},
4869-
"Github - Issue": {
4869+
"Github - Issue/Discussions/Pull - loadmore": {
48704870
"host": "github.com",
4871-
"url": "return fun.indexOF(/\\/issues\\/\\d+$/)",
4871+
"url": "return fun.indexOF(/\\/(issues|discussions|pull)\\/\\d+$/)",
48724872
"pager": {
48734873
"type": 2,
4874-
"nextL": "button[data-testid=issue-timeline-load-more-load-top][aria-disabled=false]",
4874+
"nextL": "button[data-testid=issue-timeline-load-more-load-top][aria-disabled=false], button.ajax-pagination-btn[data-disable-with=Loading…]:not([disabled])",
48754875
"scrollD": 9999
48764876
}
48774877
},

0 commit comments

Comments
 (0)