Skip to content

Commit aba5dab

Browse files
committed
优化 [Github - Star] 规则
1 parent 0245b54 commit aba5dab

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

other/Autopage/rules.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4602,25 +4602,25 @@
46024602
}
46034603
},
46044604
"Github": {
4605-
"host": ["github.com","hub.fastgit.xyz"],
4605+
"host": "github.com",
46064606
"url": "fun.isUrlC(); return (fun.lp() == '/')",
46074607
"pager": {
46084608
"type": 2,
46094609
"nextL": ".ajax-pagination-btn"
46104610
}
46114611
},
46124612
"Github - Star/Repositories/Commits": {
4613-
"host": ["github.com","hub.fastgit.xyz"],
4613+
"host": "github.com",
46144614
"url": "/(tab=(stars|repositories)|\\/commits)/",
46154615
"pager": {
46164616
"nextL": "//div[@class='paginate-container']/div/*[last()]",
4617-
"pageE": "#js-pjax-container .position-relative div[class^='col-lg-']>div:not(.position-relative):not(.paginate-container), #user-repositories-list>ul>li, .js-navigation-container>div",
4617+
"pageE": "#js-pjax-container .position-relative div[class^='col-lg-']:first-of-type>div:not(.position-relative):not(.paginate-container), #user-repositories-list>ul>li, .js-navigation-container>div",
46184618
"replaceE": ".paginate-container",
46194619
"scrollD": 2500
46204620
}
46214621
},
46224622
"Github - Issues/Pull/Discussions/Releases/Actions": {
4623-
"host": ["github.com","hub.fastgit.xyz"],
4623+
"host": "github.com",
46244624
"url": "return (fun.indexOF(/\\/(issues|pulls|discussions|releases)$/) || fun.indexOF('/discussions/categories') || fun.indexOF(/\\/actions($|\\/workflows)/))",
46254625
"pager": {
46264626
"nextL": "a.next_page",
@@ -4630,7 +4630,7 @@
46304630
}
46314631
},
46324632
"Github - Tags": {
4633-
"host": ["github.com","hub.fastgit.xyz"],
4633+
"host": "github.com",
46344634
"url": "return (fun.indexOF(/\\/tags$/))",
46354635
"pager": {
46364636
"nextL": "//div[@class='pagination']/*[last()]",
@@ -4640,7 +4640,7 @@
46404640
}
46414641
},
46424642
"Github - Notifications": {
4643-
"host": ["github.com","hub.fastgit.xyz"],
4643+
"host": "github.com",
46444644
"url": "/\\/notifications/",
46454645
"pager": {
46464646
"nextL": "nav.paginate-container>a[aria-label='Next']",
@@ -4650,7 +4650,7 @@
46504650
}
46514651
},
46524652
"Github - Search": {
4653-
"host": ["github.com","hub.fastgit.xyz"],
4653+
"host": "github.com",
46544654
"url": "/\\/search\\?/",
46554655
"pager": {
46564656
"nextL": "a.next_page",

0 commit comments

Comments
 (0)