From 49a822da75e64fde899e951df53a3fde33426a34 Mon Sep 17 00:00:00 2001 From: walklty <47232102+walklty@users.noreply.github.com> Date: Sat, 14 Oct 2023 01:13:28 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=9B=A7=E6=AC=A1=E5=85=83):=20=E5=BC=80?= =?UTF-8?q?=E5=B1=8F=E5=B9=BF=E5=91=8A,=E6=9B=B4=E6=96=B0=E5=BC=B9?= =?UTF-8?q?=E7=AA=97,=E5=B9=BF=E5=91=8A=E5=BC=B9=E7=AA=97=20(#995)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * test * Update com.viva.note.ts * Update com.viva.note.ts * chore(actions): check_format_lint * Update com.viva.note.ts * chore(actions): check_format_lint * feat(囧次元): 规则优化 --------- Co-authored-by: github-actions[bot] Co-authored-by: lisonge --- src/apps/com.viva.note.ts | 68 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 src/apps/com.viva.note.ts diff --git a/src/apps/com.viva.note.ts b/src/apps/com.viva.note.ts new file mode 100644 index 00000000..10ea7b27 --- /dev/null +++ b/src/apps/com.viva.note.ts @@ -0,0 +1,68 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.viva.note', + name: '囧次元', + groups: [ + { + key: 0, + name: '开屏广告', + quickFind: true, + matchLauncher: true, + rules: [ + { + matches: 'TextView[text^="跳过"][text.length<=4]', + snapshotUrls: [ + 'https://gkd-kit.gitee.io/import/12888429', + 'https://gkd-kit.gitee.io/import/12888730', + 'https://gkd-kit.gitee.io/import/12888762', + ], + }, + ], + }, + { + key: 1, + name: '应用内通知', + activityIds: [ + 'com.baidu.mobads.sdk.api.MobRewardVideoActivity', + 'com.maoyun.guoguo.MainActivity', + ], + matchLauncher: true, + rules: [ + { + matches: + 'View[desc^="APP最新版本"] > Button[desc="关闭"][clickable=true]', + snapshotUrls: [ + 'https://gkd-kit.gitee.io/import/12888361', + 'https://gkd-kit.gitee.io/import/12888389', + ], + }, + ], + }, + { + key: 2, + name: '应用内弹窗', + activityIds: [ + 'com.sigmob.sdk.base.common.TransparentAdActivity', + 'com.baidu.mobads.sdk.api.MobRewardVideoActivity', + ], + matchLauncher: true, + rules: [ + { + matches: '[id="ad_area"] [id="close_btn"]', + snapshotUrls: [ + 'https://gkd-kit.gitee.io/import/12888388', + 'https://gkd-kit.gitee.io/import/12888419', + 'https://gkd-kit.gitee.io/import/12888578', + 'https://gkd-kit.gitee.io/import/12888647', + ], + }, + { + matches: + 'TextView[text="反馈"] + @ImageView[clickable=true] + TextView', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12888945', + }, + ], + }, + ], +});