From cd09dbdf19016926fdcd8dc9e6608a946ddaf4ea Mon Sep 17 00:00:00 2001 From: adproqwq <101449500+adproqwq@users.noreply.github.com> Date: Sun, 14 Jan 2024 20:19:05 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=96=B5=E8=B6=A3=E6=BC=AB=E7=94=BB):=20?= =?UTF-8?q?=E5=B1=80=E9=83=A8=E5=B9=BF=E5=91=8A=20(#3706)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.paokeji.yiqu.ts | 74 ++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 src/apps/com.paokeji.yiqu.ts 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 + ], + }, + ], + }, + ], +});