diff --git a/src/apps/com.lxt.cfmoto.ts b/src/apps/com.lxt.cfmoto.ts new file mode 100644 index 00000000..5660a5c2 --- /dev/null +++ b/src/apps/com.lxt.cfmoto.ts @@ -0,0 +1,32 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.lxt.cfmoto', + name: 'CFMOTO', + groups: [ + { + key: 0, + name: '开屏广告', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: '[text^="跳过"][text.length<=10]', + snapshotUrls: 'https://i.gkd.li/import/13401968', + }, + { + key: 1, + name: '弹窗广告', + rules: [ + { + key: 1, + name: '首页弹窗广告', + activityIds: 'com.cfmoto.oilmoto.ui.MainCfActivity', + matches: + 'RelativeLayout[childCount=2] > [id="com.lxt.cfmoto:id/image"] + [id="com.lxt.cfmoto:id/closeClick"]', + snapshotUrls: 'https://i.gkd.li/import/13401967', + }, + ], + }, + ], +});