mirror of
https://github.com/XIU2/UserScript.git
synced 2026-09-22 15:06:57 +00:00
新增 [机核 GCORES] 支持; 优化 [绅士仓库] 规则
This commit is contained in:
@@ -1688,6 +1688,15 @@
|
||||
"scrollD": 500
|
||||
}
|
||||
},
|
||||
"机核 GCORES": {
|
||||
"host": "www.gcores.com",
|
||||
"url": "fun.isUrlC(); fun.getAllCSS('.navLayout_side, .gtabs, .loadingPlaceholder>.row').forEach(function (o) {o.innerHTML = o.innerHTML;}); return (fun.lp() != '/' && (fun.indexOF('/collections/') || !fun.indexOF(/\\/\\d+$/)))",
|
||||
"pager": {
|
||||
"nextL": "li.pagination_item.is_active+li>a, li.pagination_item.active+li>a",
|
||||
"pageE": ".loadingPlaceholder>.row>div",
|
||||
"replaceE": ".pagination"
|
||||
}
|
||||
},
|
||||
"SpigotMC": {
|
||||
"host": "www.spigotmc.org",
|
||||
"url": "/\\/resources\\/(categories|authors)?/",
|
||||
@@ -5327,12 +5336,12 @@
|
||||
},
|
||||
"绅士仓库": {
|
||||
"host": "/^cangku\\./",
|
||||
"url": "if (document.title.indexOf('绅士') == -1){return} fun.isUrlC(); return (fun.lp() == '/' || fun.indexOF('/user/'))",
|
||||
"url": "if (document.title.indexOf('绅士') == -1){return}; fun.isUrlC(); setTimeout(`document.querySelectorAll('#header, .simple-navbar').forEach(function (o) {o.innerHTML = o.innerHTML; console.log(o);});`, 1500); return (fun.lp() == '/' || fun.indexOF('/category/') || fun.indexOF('/user/'))",
|
||||
"history": true,
|
||||
"pager": {
|
||||
"type": 6,
|
||||
"nextL": "js;return fun.getNextEP('li.number.active+li.number', 'page=', /page=\\d+/)",
|
||||
"pageE": ".post-list>.row, #user-post>.row, #user-favorite>.row, #user-comment .comment-list",
|
||||
"pageE": ".post-list>.row, .category-post>.row, #user-post>.row, #user-favorite>.row, #user-comment .comment-list",
|
||||
"replaceE": ".el-pager",
|
||||
"loadTime": 1500
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user