diff --git a/src/apps/com.danlan.xiaolan.ts b/src/apps/com.danlan.xiaolan.ts new file mode 100644 index 00000000..a7657ef0 --- /dev/null +++ b/src/apps/com.danlan.xiaolan.ts @@ -0,0 +1,63 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.danlan.xiaolan', + name: 'Blued极速版', + groups: [ + { + key: 0, + name: '开屏广告', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + activityIds: 'com.blued.android.core.ui.TerminalActivity', + rules: [ + { + matches: + '[id="com.danlan.xiaolan:id/tt_splash_skip_btn"][clickable=true]', + snapshotUrls: ['https://i.gkd.li/import/13421629'], + }, + ], + }, + { + key: 1, + quickFind: true, + name: '附近的人-广告卡片', + activityIds: 'com.soft.blued.ui.home.HomeActivity', + rules: [ + { + key: 0, + matches: + '[id="com.danlan.xiaolan:id/ad_container"] >n [id="com.danlan.xiaolan:id/img_close"][clickable=true]', + snapshotUrls: 'https://i.gkd.li/import/13421613', + }, + { + preKeys: [0], + key: 1, + matches: '@LinearLayout > [text="不感兴趣"]', + snapshotUrls: 'https://i.gkd.li/import/13421622', + }, + ], + }, + { + key: 3, + quickFind: true, + name: '来访-广告卡片', + activityIds: 'com.blued.android.core.ui.TerminalActivity', + rules: [ + { + key: 0, + matches: '[id="com.danlan.xiaolan:id/img_close"][clickable=true]', + snapshotUrls: 'https://i.gkd.li/import/13421923', + }, + { + preKeys: [0], + key: 1, + matches: '@LinearLayout > [text="不感兴趣"]', + snapshotUrls: 'https://i.gkd.li/import/13422170', + }, + ], + }, + ], +});