From df95c1cf98bd9f7db32ebb7c1a2c471fb4999bec Mon Sep 17 00:00:00 2001 From: AIsouler Date: Sun, 27 Oct 2024 19:02:52 +0800 Subject: [PATCH] =?UTF-8?q?perf(=E9=85=B7=E5=AE=89):=20=E5=BC=80=E5=B1=8F?= =?UTF-8?q?=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.coolapk.market.ts | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/apps/com.coolapk.market.ts b/src/apps/com.coolapk.market.ts index 7b5fb7135..8beb55718 100644 --- a/src/apps/com.coolapk.market.ts +++ b/src/apps/com.coolapk.market.ts @@ -32,14 +32,17 @@ export default defineGkdApp({ { key: 1, fastQuery: true, - excludeMatches: '[id="com.coolapk.market:id/item_view"]', - matches: '[text^="跳过"][text.length<=4]', + matches: [ + '[id="com.coolapk.market:id/ad_container"][visibleToUser=true]', + '[text*="跳过"][text.length<10][visibleToUser=true]', + ], snapshotUrls: [ 'https://i.gkd.li/i/12917990', 'https://i.gkd.li/i/13211392', - 'https://i.gkd.li/i/13247733', // 误触 - 'https://i.gkd.li/i/13247782', // 可能误触 - 'https://i.gkd.li/i/13296816', // snapshot of excludeMatches + ], + excludeSnapshotUrls: [ + 'https://i.gkd.li/i/13247733', + 'https://i.gkd.li/i/13296816', ], }, ],