Skip to content

Commit

Permalink
调整 [Github] 规则都启用新标签页打开链接
Browse files Browse the repository at this point in the history
  • Loading branch information
XIU2 committed Sep 7, 2024
1 parent 662d2d1 commit e9949fb
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions other/Autopage/rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -4556,21 +4556,21 @@
"Github - Star/Repositories/Dependents/NotificationsSubscriptions": {
"host": "github.com",
"url": "/(tab=(stars|repositories)|\\/network\\/dependents|^\\/notifications\\/subscriptions(\\?|$))/",
"blank": 4,
"pager": {
"nextL": ".paginate-container>div>:last-child",
"pageE": "#user-starred-repos div[class^='col-']:first-of-type>div:not(.position-relative):not(.paginate-container),#user-repositories-list>ul>li,.Box>[data-test-id='dg-repo-pkg-dependent'],#threads-unsubscribe-form>ul>li",
"replaceE": ".paginate-container",
"scrollD": 2500
"replaceE": ".paginate-container"
}
},
"Github - Issues/Pull/Discussions/Releases/Actions/OrgRepositories": {
"host": "github.com",
"url": "return (fun.indexOF(/\\/(issues|pulls|discussions|releases)$/) || fun.indexOF('/discussions/categories') || fun.indexOF(/\\/actions($|\\/workflows)/) || fun.indexOF(/^\\/orgs\\/.+\\/repositories/))",
"blank": 4,
"pager": {
"nextL": "a.next_page",
"pageE": "div[id^='issue_'],ul[aria-labelledby='discussions-list']>li,#release_page_title+div[data-pjax]>section,div[id^='check_suite_'],#org-repositories li.Box-row",
"replaceE": ".pagination",
"scrollD": 2500
"replaceE": ".pagination"
}
},
"Github - Commits": {
Expand All @@ -4584,22 +4584,22 @@
},
"Github - Tags": {
"host": "github.com",
"url": "/\\/tags$/",
"url": "/\\/tags/",
"blank": 4,
"pager": {
"nextL": ".pagination>:last-child",
"pageE": ".Box-body>div.Box-row",
"replaceE": ".pagination",
"scrollD": 2500
"replaceE": ".pagination"
}
},
"Github - Notifications": {
"host": "github.com",
"url": "/^\\/notifications(\\?|$)/",
"blank": 4,
"pager": {
"nextL": "nav.paginate-container>a[aria-label='Next']",
"pageE": "li.notifications-list-item",
"replaceE": "nav.paginate-container,.js-notifications-list-paginator-counts",
"scrollD": 2500
"replaceE": "nav.paginate-container,.js-notifications-list-paginator-counts"
}
},
"Github - Search": {
Expand Down

0 comments on commit e9949fb

Please sign in to comment.