diff --git a/src/apps/info.muge.appshare.ts b/src/apps/info.muge.appshare.ts index 183ce007..1f5b2451 100644 --- a/src/apps/info.muge.appshare.ts +++ b/src/apps/info.muge.appshare.ts @@ -42,31 +42,21 @@ export default defineAppConfig({ rules: [ { key: 0, - name: '软件详情页卡片广告', + name: '软件详情页/搜索页卡片广告', quickFind: true, - activityIds: 'info.muge.appshare.view.app.detail.AppDetailActivity', + activityIds: [ + 'info.muge.appshare.view.app.detail.AppDetailActivity', + 'info.muge.appshare.view.search.app.SearchAppActivity', + ], matches: - 'ImageView < @FrameLayout[index=2][desc=null] <3 FrameLayout[childCount=5] <<(6,7) [id="info.muge.appshare:id/adContainer"]', + 'ImageView < @FrameLayout[index=2][desc=null] <3 FrameLayout[childCount=5] <<(6,7) [vid^="ad"]', exampleUrls: 'https://m.gkd.li/57941037/c19bb8e3-abae-46ee-bfe9-d7846cd868bc', snapshotUrls: [ - 'https://i.gkd.li/import/14160820', - 'https://i.gkd.li/import/13712716', - 'https://i.gkd.li/import/13761259', - 'https://i.gkd.li/i/14368768', // 避免在此页面误触 + 'https://i.gkd.li/i/14382413', + 'https://i.gkd.li/i/14368946', ], }, - { - key: 1, - name: '搜索页卡片广告', - quickFind: true, - activityIds: 'info.muge.appshare.view.search.app.SearchAppActivity', - matches: - 'ImageView < @FrameLayout[index=2][desc=null] <3 FrameLayout[childCount=5] <<7 [vid="adView"]', - exampleUrls: - 'https://m.gkd.li/57941037/9f0e824f-b48e-42f7-9d1a-82642e409d12', - snapshotUrls: 'https://i.gkd.li/i/14368946', - }, ], }, {