From bb022db54abf2b8144c76a7db0efc3ce36caada1 Mon Sep 17 00:00:00 2001 From: DeepChirp <66902050+DeepChirp@users.noreply.github.com> Date: Thu, 29 Aug 2024 19:51:44 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=BE=AE=E4=BF=A1):=20=E5=88=86=E6=AE=B5?= =?UTF-8?q?=E5=B9=BF=E5=91=8A-=E8=AE=A2=E9=98=85=E5=8F=B7=E6=B6=88?= =?UTF-8?q?=E6=81=AF=E5=86=85=E5=AE=B9-=E5=B9=BF=E5=91=8A=20(#326)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.tencent.mm.ts | 44 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 42 insertions(+), 2 deletions(-) diff --git a/src/apps/com.tencent.mm.ts b/src/apps/com.tencent.mm.ts index 2cc0724e..cb00defb 100644 --- a/src/apps/com.tencent.mm.ts +++ b/src/apps/com.tencent.mm.ts @@ -437,7 +437,7 @@ export default defineGkdApp({ }, { key: 28, - name: '分段广告-订阅号消息页面视频推荐', + name: '分段广告-订阅号消息-视频推荐', desc: '点击[X]-点击[不喜欢此类视频]-点击[确定]', activityIds: 'com.tencent.mm.plugin.brandservice.ui.flutter.BizFlutterTLFlutterViewActivity', @@ -504,7 +504,7 @@ export default defineGkdApp({ }, { key: 31, - name: '分段广告-订阅号消息页面-推荐阅读', + name: '分段广告-订阅号消息-推荐阅读', desc: '点击关闭', activityIds: 'com.tencent.mm.plugin.brandservice.ui.flutter.BizFlutterTLFlutterViewActivity', @@ -582,5 +582,45 @@ export default defineGkdApp({ }, ], }, + { + key: 35, + name: '分段广告-订阅号消息内容-广告', + desc: '点击下拉框-[不感兴趣]-[与我无关]', + activityIds: + 'com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewMMUI', + rules: [ + { + key: 0, + matches: + '@[id="feedbackTagContainer"][visibleToUser=true][clickable=true] > TextView[text="广告"]', // 某些微信版本上该节点的`clickable=false` + exampleUrls: [ + 'https://e.gkd.li/e73bb653-cc79-455c-958b-38aff6687c37', + 'https://e.gkd.li/5915f80b-66b9-4441-9d36-3caa3fe1be58', + ], + snapshotUrls: [ + 'https://i.gkd.li/i/16796663', // 内容尾部广告 + 'https://i.gkd.li/i/16796725', // 内容中部广告 + ], + }, + { + key: 1, + preKeys: 0, + matches: '[text="不感兴趣"][clickable=true]', // 为确保能够关闭尾部广告,此处点击“不感兴趣”而非“关闭此广告” + snapshotUrls: [ + 'https://i.gkd.li/i/16796666', // 内容尾部广告 + 'https://i.gkd.li/i/16796729', // 内容中部广告 + ], + }, + { + key: 2, + preKeys: 1, + matches: '[text="与我无关"][clickable=true]', + snapshotUrls: [ + 'https://i.gkd.li/i/16796674', // 内容尾部广告 + 'https://i.gkd.li/i/16796732', // 内容中部广告 + ], + }, + ], + }, ], });