From 662d2d18803dea2a229214a6a97050673605cf17 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 7 Sep 2024 16:55:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20[Github=20-=20Search]=20?= =?UTF-8?q?=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 5dbcf1a..6a47f79 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -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" }