From 99496ffd789e338643c8ef05e98f253a55421992 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 3 Mar 2022 10:53:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[UrleBird]=20=E6=94=AF?= =?UTF-8?q?=E6=8C=81;=20=E4=BC=98=E5=8C=96=20=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 7 ++++--- other/Autopage/rules.json | 35 +++++++++++++++++++++++++++-------- 2 files changed, 31 insertions(+), 11 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index f5566b5..835e0c5 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -46,6 +46,7 @@ for (let i=0;ia img[loading=lazy]:not(.lazyloaded) {visibility: initial !important;}", + "pager": { + "nextL": "a.pagination_next", + "pageE": ".resource_block > ul.resource_list > li", + "replaceE": ".pagination", + "scrollD": 3000 + } + }, "Steam 创意工坊 - 项目列表": { "host": "steamcommunity.com", "url": "return (fun.indexOF('/workshop/browse'))", @@ -1665,15 +1676,23 @@ "bF": "return fun.src_bF(pageE, [0,'img[_src]','_src'])" } }, - "Planet Minecraft": { - "host": "www.planetminecraft.com", - "url": "return (!fun.indexOF('/forums/') && !fun.indexOF('/posts/'))", - "style": ".resource .r-preview>a img[loading=lazy]:not(.lazyloaded) {visibility: initial !important;}", + "UrleBird": { + "host": "urlebird.com", + "url": "/^\\/(trending|user|hash|song)\\//", "pager": { - "nextL": "a.pagination_next", - "pageE": ".resource_block > ul.resource_list > li", - "replaceE": ".pagination", - "scrollD": 3000 + "type": 2, + "nextL": "#btn_more_videos:not([disabled]), #load_more:not([disabled]), #hash_load_more:not([disabled]), #song_load_more:not([disabled])", + "scrollD": 1000 + } + }, + "UrleBird - videos": { + "host": "urlebird.com", + "url": "/^\\/videos\\//", + "pager": { + "nextL": "li.page-item.active+li>a", + "pageE": ".thumb", + "replaceE": "ul.pagination", + "scrollD": 1000 } }, "ScriptCat": {