diff --git a/src/apps/com.paokeji.yiqu.ts b/src/apps/com.paokeji.yiqu.ts new file mode 100644 index 00000000..ec20a534 --- /dev/null +++ b/src/apps/com.paokeji.yiqu.ts @@ -0,0 +1,74 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.paokeji.yiqu', + name: '喵趣漫画', + groups: [ + { + key: 1, + name: '局部广告', + activityIds: [ + 'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Activity_T', + 'com.aster.comic.app.view.MainActivity', + 'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity', + ], + rules: [ + { + key: 0, + name: '腾讯SDK', + actionDelay: 350, //防误触 + matches: + '[id="android:id/content"] >(-n+4) FrameLayout > FrameLayout[childCount=1] > ImageView[index=0 && id!=null]', + snapshotUrls: [ + 'https://i.gkd.li/import/13830354', + 'https://i.gkd.li/import/13842716', + 'https://i.gkd.li/import/13842966', + ], + }, + { + key: 1, + name: '字节SDK', + matches: 'FrameLayout[desc*="close"] > View', + snapshotUrls: [ + 'https://i.gkd.li/import/13839432', + 'https://i.gkd.li/import/13839519', + ], + }, + { + key: 2, + name: '穿山甲SDK', + actionDelay: 350, //防误触 + matches: [ + '[id="com.byted.pangle.m:id/tt_reward_full_count_down_after"]', + '[text="反馈"] < Image[text.length=0]', + '[text="反馈"] <n ViewGroup[index=1] >n @ViewGroup[clickable=true] > ImageView', + ], + snapshotUrls: [ + 'https://i.gkd.li/import/13809629', //规则1 + 'https://i.gkd.li/import/13829312', //规则3 + 'https://i.gkd.li/import/13837855', //规则2 + ], + }, + ], + }, + ], +});