mirror of
https://github.com/XIU2/UserScript.git
synced 2026-09-22 15:06:57 +00:00
更新 [Github - Search] 规则
This commit is contained in:
@@ -4605,8 +4605,10 @@
|
||||
"Github - Search": {
|
||||
"host": "github.com",
|
||||
"url": "/\\/search\\?/",
|
||||
"style": "header.AppHeader {position: fixed !important;width: 100% !important;top: 0px !important;z-index: 100 !important;} .application-main {margin-top: 64px !important;}",
|
||||
"blank": 4,
|
||||
"pager": {
|
||||
"nextL": "js; if (fun.getCSS('a[aria-current=page]')) {return fun.getNextEP('a[aria-current=page]+a','p=',/p=\\d+/)} else {return fun.getCSS('a.next_page').href}",
|
||||
"nextL": "a[rel=next][class^=Pagination]",
|
||||
"pageE": "[data-testid=results-list]>div,.repo-list>li,.code-list-item,#commit_search_results>div,.issue-list-item,.discussion-list-item,#package_search_results>div,#marketplace_search_results>div:first-child>div,.topic-list-item,#wiki_search_results>div:first-child>div,#user_search_results>div:first-child>div",
|
||||
"replaceE": "nav[class^='Pagination__PaginationContainer'],.pagination"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user