diff --git a/src/apps/com.dfsly.bbs.ts b/src/apps/com.dfsly.bbs.ts new file mode 100644 index 00000000..9ed8cba5 --- /dev/null +++ b/src/apps/com.dfsly.bbs.ts @@ -0,0 +1,42 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.dfsly.bbs', + name: 'AC匿名版', + groups: [ + { + key: 0, + name: '开屏广告', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + quickFind: true, + rules: [ + { + matches: + '[id="android:id/content"] >7 FrameLayout[childCount=7] > LinearLayout >3 ImageView[text=null][visibleToUser=true]', + snapshotUrls: 'https://i.gkd.li/import/13330351', + }, + ], + }, + { + key: 1, + name: '弹窗广告', + matchLauncher: true, + activityIds: ['com.dfsly.bbs.ui.NavigationActivity'], + quickFind: true, + rules: [ + { + matches: [ + '[id="android:id/content"] >n FrameLayout[childCount=5 || childCount=8] > FrameLayout > ImageView[text=null][visibleToUser=true]', + ], + snapshotUrls: [ + 'https://i.gkd.li/import/13343675', + 'https://i.gkd.li/import/13335135', + 'https://i.gkd.li/import/13335316', // matchLauncher + ], + }, + ], + }, + ], +});