From 00700e0c558450a3bcf16c02dc3ad989a490f9bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E7=BA=A2=E9=B9=8F?= <1140049363@qq.com> Date: Thu, 2 Nov 2023 22:22:43 +0800 Subject: [PATCH] =?UTF-8?q?feat(WiFi=E4=B8=87=E8=83=BD=E9=92=A5=E5=8C=99):?= =?UTF-8?q?=20=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A;=20=E9=A6=96=E9=A1=B5-W?= =?UTF-8?q?iFi=E5=88=97=E8=A1=A8=E5=B9=BF=E5=91=8A=20(#1745)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(喵上漫画):补充activeid * feat(喵上漫画): 开屏广告-规则优化 * fix(微信):补充朋友圈广告activityId * 添加wifi万能钥匙(com.wifitutu)规则 * Update com.wifitutu.ts * chore(actions): check_format_lint * feat(WiFi万能钥匙): 规则优化 --------- Co-authored-by: 二刺螈 Co-authored-by: github-actions[bot] --- src/apps/com.wifitutu.ts | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 src/apps/com.wifitutu.ts diff --git a/src/apps/com.wifitutu.ts b/src/apps/com.wifitutu.ts new file mode 100644 index 00000000..da46ff94 --- /dev/null +++ b/src/apps/com.wifitutu.ts @@ -0,0 +1,38 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.wifitutu', + name: 'WiFi万能钥匙', + groups: [ + { + key: 0, + name: '开屏广告', + desc: '点击右上角跳过', + actionMaximum: 1, + matchTime: 10000, + resetMatch: 'app', + rules: [ + { + matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12992451', + }, + ], + }, + { + key: 1, + name: '首页-WiFi列表广告', + activityIds: ['com.wifitutu.ui.main.MainActivity'], + rules: [ + { + matches: 'View < [desc^="dislike"][visibleToUser=true]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/13233916', + }, + { + matches: + '@Image[text=""] < View +n View > View > TextView[text="广告"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/13234048', + }, + ], + }, + ], +});