diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index ca17b3c..dd74463 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -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 },