From 9d6f1ec06a569cad3f45ba2ad7c1e263d3ab7bb0 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Thu, 8 Feb 2024 23:04:22 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=BE=AE=E5=8D=9A)=20=E5=88=86=E6=AE=B5?= =?UTF-8?q?=E5=B9=BF=E5=91=8A-=E4=BF=A1=E6=81=AF=E6=B5=81=E5=B9=BF?= =?UTF-8?q?=E5=91=8A=EF=BC=88=E4=BC=98=E5=8C=96=E8=A7=84=E5=88=99=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.sina.weibo.ts | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/src/apps/com.sina.weibo.ts b/src/apps/com.sina.weibo.ts index 94675444..6f915194 100644 --- a/src/apps/com.sina.weibo.ts +++ b/src/apps/com.sina.weibo.ts @@ -50,13 +50,6 @@ export default defineAppConfig({ '[id="com.sina.weibo:id/left_video_container"] + LinearLayout >2 [id="com.sina.weibo:id/close"][clickable=true]', snapshotUrls: 'https://i.gkd.li/import/13635551', }, - { - key: 2, - activityIds: 'com.sina.weibo.feed.DetailWeiboActivity', - matches: - '[id="com.sina.weibo:id/corner_marker_view"] >2 [id="com.sina.weibo:id/right_top_tag"]', - snapshotUrls: 'https://i.gkd.li/import/12673051', - }, { key: 3, activityIds: 'com.sina.weibo.feed.DetailWeiboActivity', @@ -250,27 +243,35 @@ export default defineAppConfig({ { key: 17, quickFind: true, - name: '分段广告-评论区信息流广告', + name: '分段广告-信息流广告', desc: '点击X-点击"不感兴趣"/"不想看到此类内容"', activityIds: 'com.sina.weibo.feed.DetailWeiboActivity', rules: [ { key: 0, name: '点击关闭', - matches: '[text="广告"] + [id="com.sina.weibo:id/iv_close_icon"]', snapshotUrls: 'https://i.gkd.li/import/13852321', }, { - preKeys: 0, key: 1, + activityIds: 'com.sina.weibo.feed.DetailWeiboActivity', + matches: '[vid="corner_marker_view"] >2 [vid="right_top_tag"]', + snapshotUrls: [ + 'https://i.gkd.li/import/12673051', + 'https://i.gkd.li/import/14210775', + ], + }, + { + preKeys: 0, + key: 90, name: '点击"不感兴趣"', matches: '[text="不感兴趣"][clickable=true]', snapshotUrls: 'https://i.gkd.li/import/13852322', }, { - preKeys: 0, - key: 2, + preKeys: [0, 1], + key: 91, name: '点击"不想看到此类内容"', matches: '@LinearLayout[index=1][clickable=true] >2 [text="不想看到此类内容"]',