From ef12b595b65079ee8012d26b3704ac2316637c3d Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Sun, 25 Feb 2024 13:47:56 +0800 Subject: [PATCH 1/4] =?UTF-8?q?feat(=E7=9B=B4=E6=92=AD=E5=90=A7)=20?= =?UTF-8?q?=E5=B1=80=E9=83=A8=E5=B9=BF=E5=91=8A-=E6=96=87=E7=AB=A0?= =?UTF-8?q?=E5=BA=95=E9=83=A8=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/android.zhibo8.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/apps/android.zhibo8.ts b/src/apps/android.zhibo8.ts index 7f87c3c15..01c84f7c6 100644 --- a/src/apps/android.zhibo8.ts +++ b/src/apps/android.zhibo8.ts @@ -34,5 +34,19 @@ export default defineAppConfig({ }, ], }, + { + key: 2, + name: '局部广告-文章底部广告', + rules: [ + { + key: 0, + activityIds: 'android.zhibo8.ui.contollers.detail.DetailActivity', + quickFind: true, + matches: + '@[vid="iv_tip"][clickable=true][visibleToUser=true] - * > [text="广告"]', + snapshotUrls: 'https://i.gkd.li/i/14395379', + }, + ], + }, ], }); From a828140dfccff7443874ea60e66dcfcb182ad421 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Sun, 25 Feb 2024 13:52:32 +0800 Subject: [PATCH 2/4] use tuple --- src/apps/android.zhibo8.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/apps/android.zhibo8.ts b/src/apps/android.zhibo8.ts index 01c84f7c6..0ec1d6c00 100644 --- a/src/apps/android.zhibo8.ts +++ b/src/apps/android.zhibo8.ts @@ -43,8 +43,11 @@ export default defineAppConfig({ activityIds: 'android.zhibo8.ui.contollers.detail.DetailActivity', quickFind: true, matches: - '@[vid="iv_tip"][clickable=true][visibleToUser=true] - * > [text="广告"]', - snapshotUrls: 'https://i.gkd.li/i/14395379', + '@[vid="iv_tip"][clickable=true][visibleToUser=true] -(1,2) * > [text="广告"]', + snapshotUrls: [ + 'https://i.gkd.li/i/14395379', + 'https://i.gkd.li/i/14395389', + ], }, ], }, From 8375b74bd297b707f56253a9ccaa4f29f9ee644d Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Sun, 25 Feb 2024 14:04:50 +0800 Subject: [PATCH 3/4] add consequent --- src/apps/android.zhibo8.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/apps/android.zhibo8.ts b/src/apps/android.zhibo8.ts index 0ec1d6c00..e407eb336 100644 --- a/src/apps/android.zhibo8.ts +++ b/src/apps/android.zhibo8.ts @@ -49,6 +49,14 @@ export default defineAppConfig({ 'https://i.gkd.li/i/14395389', ], }, + { + key: 1, + preKeys: 0, + activityIds: 'android.zhibo8.ui.contollers.detail.DetailActivity', + quickFind: true, + matches: '@[clickable=true][visibleToUser=true] >3 [text="不感兴趣"]', + snapshotUrls: 'https://i.gkd.li/i/14395415', + }, ], }, ], From 962c433c01af565783f9b24b7bd406f5ac1cc96e Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Sun, 25 Feb 2024 14:12:20 +0800 Subject: [PATCH 4/4] =?UTF-8?q?feat(=E7=9B=B4=E6=92=AD=E5=90=A7)=20?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/android.zhibo8.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/apps/android.zhibo8.ts b/src/apps/android.zhibo8.ts index e407eb336..2c27a7584 100644 --- a/src/apps/android.zhibo8.ts +++ b/src/apps/android.zhibo8.ts @@ -59,5 +59,19 @@ export default defineAppConfig({ }, ], }, + { + key: 3, + name: '更新提示', + rules: [ + { + key: 0, + actionMaximum: 1, + resetMatch: 'app', + quickFind: true, + matches: '@[vid="iv_cancel"] - * >4 [text="发现新版本"]', + snapshotUrls: 'https://i.gkd.li/i/14395465', + }, + ], + }, ], });