From 4b3c93044d333eb6c5b010121cc1cbb7884b63dc Mon Sep 17 00:00:00 2001 From: zhcode Date: Wed, 6 Sep 2023 19:41:55 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20add=20"=E4=B8=AD=E5=9B=BD=E8=81=94?= =?UTF-8?q?=E9=80=9A=E3=80=81=E4=BB=80=E4=B9=88=E5=80=BC=E5=BE=97=E4=B9=B0?= =?UTF-8?q?=E3=80=81=E4=BA=AC=E4=B8=9C=E4=BA=91=E6=97=A0=E7=BA=BF=E5=AE=9D?= =?UTF-8?q?=E3=80=81=E5=8F=91=E7=8E=B0=E7=B2=BE=E5=BD=A9"=E5=BC=80?= =?UTF-8?q?=E5=B1=8F=E5=B9=BF=E5=91=8A=E8=A7=84=E5=88=99=20(#44)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 添加"中国联通、什么值得买、京东云无线宝"开屏广告规则 * feat(发现精彩): 添加发现精彩(广发银行信用卡App)开屏广告 * perf: 去掉重复选择器标记 --------- Co-authored-by: lisonge --- src/apps/com.cs_credit_bank.ts | 15 +++++++++++++++ src/apps/com.jdcloud.mt.smartrouter.ts | 15 +++++++++++++++ src/apps/com.sinovatech.unicom.ui.ts | 15 +++++++++++++++ src/apps/com.smzdm.client.android.ts | 15 +++++++++++++++ 4 files changed, 60 insertions(+) create mode 100644 src/apps/com.cs_credit_bank.ts create mode 100644 src/apps/com.jdcloud.mt.smartrouter.ts create mode 100644 src/apps/com.sinovatech.unicom.ui.ts create mode 100644 src/apps/com.smzdm.client.android.ts diff --git a/src/apps/com.cs_credit_bank.ts b/src/apps/com.cs_credit_bank.ts new file mode 100644 index 00000000..27fce53e --- /dev/null +++ b/src/apps/com.cs_credit_bank.ts @@ -0,0 +1,15 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.cs_credit_bank', + name: '发现精彩', + groups: [ + { + key: 0, + name: '开屏广告', + activityIds: 'com.mapass.example.activity.MainActivity_', + rules: '[id="com.cs_credit_bank:id/start_skip"]', + snapshotUrls: 'https://gkd-kit.songe.li/import/12536487', + }, + ], +}); diff --git a/src/apps/com.jdcloud.mt.smartrouter.ts b/src/apps/com.jdcloud.mt.smartrouter.ts new file mode 100644 index 00000000..85add232 --- /dev/null +++ b/src/apps/com.jdcloud.mt.smartrouter.ts @@ -0,0 +1,15 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.jdcloud.mt.smartrouter', + name: '京东云无线宝', + groups: [ + { + key: 0, + name: '开屏广告', + activityIds: 'com.jdcloud.mt.smartrouter.nwelcome.WelcomeActivity', + rules: 'LinearLayout > TextView[text^="跳过"]', + snapshotUrls: 'https://gkd-kit.songe.li/import/12535237', + }, + ], +}); diff --git a/src/apps/com.sinovatech.unicom.ui.ts b/src/apps/com.sinovatech.unicom.ui.ts new file mode 100644 index 00000000..ebc4deb4 --- /dev/null +++ b/src/apps/com.sinovatech.unicom.ui.ts @@ -0,0 +1,15 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.sinovatech.unicom.ui', + name: '中国联通', + groups: [ + { + key: 0, + name: '开屏广告', + activityIds: 'com.sinovatech.unicom.basic.ui.activity.WelcomeClient', + rules: '[id="com.sinovatech.unicom.ui:id/welcome_advertise_close"]', + snapshotUrls: 'https://gkd-kit.songe.li/import/12535185', + }, + ], +}); diff --git a/src/apps/com.smzdm.client.android.ts b/src/apps/com.smzdm.client.android.ts new file mode 100644 index 00000000..4641a921 --- /dev/null +++ b/src/apps/com.smzdm.client.android.ts @@ -0,0 +1,15 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.smzdm.client.android', + name: '什么值得买', + groups: [ + { + key: 0, + name: '开屏广告', + activityIds: 'com.smzdm.client.android.app.WelComeActivity', + rules: '[id="com.smzdm.client.android:id/tv_skip"]', + snapshotUrls: 'https://gkd-kit.songe.li/import/12535072', + }, + ], +});