mirror of
https://github.com/XIU2/UserScript.git
synced 2026-09-22 15:06:57 +00:00
新增 [Searxng 聚合搜索] 支持; 更新 [Startpage 搜索] 规则
This commit is contained in:
@@ -195,12 +195,23 @@
|
||||
"url": "fun.isUrlC(); if (fun.getCookie('av') != '1') {document.cookie='av=1; expires=Thu, 18 Dec 2031 12:00:00 GMT; path=/'; location.reload();}",
|
||||
"history": false
|
||||
},
|
||||
"Searxng 搜索": {
|
||||
"host": "searx.owlook.com.cn",
|
||||
"url": "/^\\/search/",
|
||||
"history": false,
|
||||
"pager": {
|
||||
"nextL": "js; return fun.getNextF('.next_page')",
|
||||
"pageE": "article.result",
|
||||
"replaceE": "#pagination",
|
||||
"scrollD": 2000
|
||||
}
|
||||
},
|
||||
"Startpage 搜索": {
|
||||
"host": ["startpage.com","www.startpage.com"],
|
||||
"url": "/\\/search/",
|
||||
"history": true,
|
||||
"history": false,
|
||||
"pager": {
|
||||
"nextL": "js; return fun.getNextF('//div[contains(@class, 'pagination ')]/form[./button[@class='pagination__next-prev-button next']]')",
|
||||
"nextL": "js; return fun.getNextF('//div[contains(@class, \"pagination\")]/form[./button[@class=\"pagination__next-prev-button next\"]]')",
|
||||
"pageE": "section.w-gl--desktop > div",
|
||||
"replaceE": ".pagination",
|
||||
"scrollD": 2000
|
||||
|
||||
Reference in New Issue
Block a user