diff --git a/src/apps/run.xbud.android.ts b/src/apps/run.xbud.android.ts index f17a4975..70835f77 100644 --- a/src/apps/run.xbud.android.ts +++ b/src/apps/run.xbud.android.ts @@ -7,19 +7,42 @@ export default defineAppConfig({ { key: 0, name: '开屏广告', - activityIds: 'run.xbud.android.mvp.ui.other.SplashActivity', - rules: '[id="run.xbud.android:id/bodyLayout"] >n [text^="跳过"]', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: '[text^="跳过"][text.length<=10]', snapshotUrls: 'https://i.gkd.li/import/12777125', }, { key: 1, - name: '首页广告弹窗', + name: '广告弹窗', activityIds: 'run.xbud.android.mvp.ui.other.MainActivity', - rules: - '[id="run.xbud.android:id/ksad_tk_view"] >n @ViewGroup[clickable=true] > ImageView', - snapshotUrls: [ - 'https://i.gkd.li/import/12777133', - 'https://i.gkd.li/import/12777134', + rules: [ + { + key: 0, + name: '快手广告', + matches: + '[id="run.xbud.android:id/ksad_tk_view"] >n @ViewGroup[clickable=true] > ImageView', + snapshotUrls: [ + 'https://i.gkd.li/import/12777133', + 'https://i.gkd.li/import/12777134', + ], + }, + { + key: 1, + name: '腾讯广告1', + matches: + 'ImageView - LinearLayout < FrameLayout - FrameLayout > FrameLayout > ImageView', + snapshotUrls: 'https://i.gkd.li/import/13296371', + }, + { + key: 2, + name: '腾讯广告2', + matches: + 'ImageView -n FrameLayout > FrameLayout > FrameLayout > ImageView', + snapshotUrls: 'https://i.gkd.li/import/13296398', + }, ], }, ],