mirror of
https://github.com/XIU2/UserScript.git
synced 2026-09-07 11:27:41 +00:00
调整 [Github] 规则都启用新标签页打开链接
This commit is contained in:
@@ -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": {
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user