From bde078b49c97da2de0cf4a778a6ce439d48a7de4 Mon Sep 17 00:00:00 2001 From: walklty <47232102+walklty@users.noreply.github.com> Date: Thu, 16 Nov 2023 21:29:20 +0800 Subject: [PATCH] =?UTF-8?q?feat(vivo=E6=B5=8F=E8=A7=88=E5=99=A8):=20?= =?UTF-8?q?=E5=85=8D=E6=B5=81=E6=8F=90=E7=A4=BA=20(#2137)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close #2133 --- src/apps/com.vivo.browser.ts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/apps/com.vivo.browser.ts b/src/apps/com.vivo.browser.ts index 1dce304e..b12a9f37 100644 --- a/src/apps/com.vivo.browser.ts +++ b/src/apps/com.vivo.browser.ts @@ -7,8 +7,18 @@ export default defineAppConfig({ { key: 0, name: '开屏广告', - activityIds: 'com.vivo.browser.BrowserActivity', - rules: 'TextView[clickable = true && text ^= "跳过" && text.length = 4]', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + quickFind: true, + rules: '[text^="跳过"][text.length<10]', + snapshotUrls: 'https://i.gkd.li/import/12847431', + }, + { + key: 1, + name: '免流提示', + activityIds: 'com.vivo.browser.pendant.PendantActivity', + rules: '[id="com.vivo.browser:id/dialog_button_right"][text="继续浏览"]', snapshotUrls: 'https://i.gkd.li/import/12847431', }, ],