From 7a43b8b3362d8fa2a0d2ca9b4bc55e16243d833a Mon Sep 17 00:00:00 2001 From: jiuqianyuan <39406781+jiuqianyuan@users.noreply.github.com> Date: Thu, 30 Nov 2023 21:44:18 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E9=A3=9E=E9=9F=B5=E5=90=AC=E4=B9=A6):=20?= =?UTF-8?q?=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A=E3=80=81=E6=92=AD=E6=94=BE?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E5=8D=A1=E7=89=87=E5=BC=8F=E5=B9=BF=E5=91=8A?= =?UTF-8?q?=E3=80=81=E9=A6=96=E9=A1=B5=E5=B9=BF=E5=91=8A=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=20(#2688)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(飞韵听书):开屏广告、播放界面卡片式广告、首页广告弹窗 * 格式更正 * chore(actions): check_format_lint --------- Co-authored-by: github-actions[bot] close #2670 --- src/apps/com.vo.icea.ts | 97 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 src/apps/com.vo.icea.ts diff --git a/src/apps/com.vo.icea.ts b/src/apps/com.vo.icea.ts new file mode 100644 index 00000000..1358bba0 --- /dev/null +++ b/src/apps/com.vo.icea.ts @@ -0,0 +1,97 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.vo.icea', + name: '飞韵听书', + groups: [ + { + key: 0, + name: '开屏广告', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + name: '【跳过】', + matches: '[text*="跳过"][text.length<=10]', + snapshotUrls: 'https://i.gkd.li/import/13445848', + }, + { + name: '【字节穿山甲SDK】', + matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]', + snapshotUrls: 'https://i.gkd.li/import/13440325', + }, + ], + }, + { + key: 5, + name: '播放界面卡片式广告', + desc: '需点击二次弹窗关闭原因', + quickFind: true, + activityIds: [ + 'com.vo.icea.MainActivity', + 'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity', + ], + rules: [ + { + key: 0, + name: '点击【反馈】', + matches: 'WebView @[text="反馈"] - View > Image', + snapshotUrls: 'https://i.gkd.li/import/13510973', + }, + { + preKeys: 0, + name: '原因选【不感兴趣】', + matches: '@LinearLayout[clickable=true] > [text="不感兴趣"]', + snapshotUrls: 'https://i.gkd.li/import/13510972', + }, + ], + }, + { + key: 6, + name: '首页广告弹窗', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + activityIds: 'com.vo.icea.MainActivity', + rules: [ + //字节穿山甲广告SDK: key0-4 + { + key: 0, + name: '类型0', + quickFind: true, + matches: '[id="com.byted.pangle:id/tt_reward_full_count_down"]', + snapshotUrls: 'https://i.gkd.li/import/13511052', + }, + { + key: 1, + name: '类型1', + matches: + 'FrameLayout > FrameLayout[childCount=1] > ImageView[width<80][height<80]', + snapshotUrls: [ + 'https://i.gkd.li/import/13511645', + 'https://i.gkd.li/import/13511059', + 'https://i.gkd.li/import/13511065', + 'https://i.gkd.li/import/13511708', + ], + }, + { + key: 2, + name: '类型2', + matches: '[text="反馈"] -n View > Image[text=""][width<60]', + snapshotUrls: [ + 'https://i.gkd.li/import/13511052', + 'https://i.gkd.li/import/13511765', + ], + }, + { + key: 3, + name: '类型3', + matches: '[text="反馈"] < View [text*="跳过"][text.length<=10]', + snapshotUrls: 'https://i.gkd.li/import/13446063', + }, + ], + }, + ], +});