From ae065e5b6158d9d36865c2e832a54a72a2f88652 Mon Sep 17 00:00:00 2001 From: aisouler Date: Thu, 1 Feb 2024 17:47:59 +0800 Subject: [PATCH] Squashed commit of the following: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit commit 87ba8fa8ada61c8d2c3fa30d25422d6c839b4d37 Author: aisouler Date: Fri Jan 26 17:40:37 2024 +0800 Update com.tencent.mm.ts commit 89e0308b838d641c14869ab6215d08710e38e700 Author: aisouler Date: Fri Jan 26 16:19:11 2024 +0800 feat:优化规则 commit 294d8c8f21022d338c15d5392240e8440218a8c1 Author: aisouler Date: Thu Jan 25 19:12:31 2024 +0800 feat(微信):功能类-开启青少年模式后的每日验证 commit e5b0e69b0334f08b39b9dd420a76b4227fa536a1 Author: github-actions[bot] Date: Mon Jan 22 07:33:25 2024 +0000 chore(actions): check_format_lint commit 0b1a41832c82612697876ed795e1c945a4ae770f Author: aisouler Date: Mon Jan 22 15:32:48 2024 +0800 feat:(微信):订阅号文章广告(补充activityid) commit a8a5bddf05955c8b7d4b59c16c57381fbb4b67b2 Author: aisouler Date: Sun Jan 21 13:56:45 2024 +0800 fix:修改key值 commit ae9ce36f40e1d10b3cc80bf52a113a8c07dd6c8c Author: aisouler Date: Sun Jan 21 13:53:48 2024 +0800 feat(微信小程序):首页弹窗广告 commit f8ec6050164e3546ab79f1ec2193ac058b5ddb22 Author: aisouler Date: Tue Jan 16 13:48:39 2024 +0800 feat(WeChat):朋友圈广告[繁体](补充activityId) --- src/apps/com.tencent.mm.ts | 44 +++++++++++++++++++++++++++++++++++--- 1 file changed, 41 insertions(+), 3 deletions(-) diff --git a/src/apps/com.tencent.mm.ts b/src/apps/com.tencent.mm.ts index 3555f36e..677c02a7 100644 --- a/src/apps/com.tencent.mm.ts +++ b/src/apps/com.tencent.mm.ts @@ -98,7 +98,10 @@ export default defineAppConfig({ key: 20, name: '分段广告-朋友圈广告[繁体]', desc: '点击广告卡片右上角[廣告],出现菜单点击[關閉此廣告],确认关闭', - activityIds: 'com.tencent.mm.plugin.sns.ui.SnsTimeLineUI', + activityIds: [ + 'com.tencent.mm.plugin.sns.ui.SnsTimeLineUI', + 'com.tencent.mm.plugin.sns.ui.improve.ImproveSnsTimelineUI', + ], quickFind: true, rules: [ { @@ -235,6 +238,7 @@ export default defineAppConfig({ desc: '⚠ 此规则有概率误触。自动点击关闭按钮,必须同时启用【订阅号文章广告反馈】规则', activityIds: [ 'com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebView', //调整为TmplWebView, 同时兼容多种ID + 'com.tencent.mm.plugin.webview.ui.tools.fts.MMSosWebViewUI', ], rules: [ { @@ -249,6 +253,7 @@ export default defineAppConfig({ 'https://i.gkd.li/import/12646837', // 事件完成后,反馈按钮仍然存在,使用 View[childCount=1] 进行限定,防止频繁触发规则 'https://i.gkd.li/import/12678937', // 文章未浏览至页面底部,广告反馈按钮不可见,使用 [visibleToUser=true] 进行限定,防止打开文章就频繁触发规则 'https://i.gkd.li/import/12714427', // 优化规则,使用 View[id="ad_container"] 作为特征节点 + 'https://i.gkd.li/import/14006180', // com.tencent.mm.plugin.webview.ui.tools.fts.MMSosWebViewUI ], }, { @@ -291,8 +296,11 @@ export default defineAppConfig({ key: 8, name: '分段广告-订阅号文章广告反馈', desc: '⚠ 此规则有概率误触。自动点击反馈理由,配合【订阅号文章广告】规则使用', - activityIds: + activityIds: [ 'com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebView', //调整为TmplWebView, 同时兼容多种ID + 'com.tencent.mm.plugin.webview.ui.tools.fts.MMSosWebViewUI', + ], + rules: [ { key: 1, @@ -304,6 +312,7 @@ export default defineAppConfig({ 'https://i.gkd.li/import/12642234', 'https://i.gkd.li/import/12722301', 'https://i.gkd.li/import/12722331', // 使用 [id="feedbackTagContainer"][visibleToUser=true] 进行限定,防止反馈界面未出现就触发规则 + 'https://i.gkd.li/import/14006203', // com.tencent.mm.plugin.webview.ui.tools.fts.MMSosWebViewUI ], action: 'clickCenter', // 使用 clickCenter 事件点击,期望在快照 https://i.gkd.li/import/12745280 中成功点击 [与我无关] }, @@ -312,7 +321,10 @@ export default defineAppConfig({ // preKeys: [2], 取消 preKeys 提高点击成功率 name: '点击与我无关', matches: 'View > [id^="menu"] > [id="isdismatch"][text="与我无关"]', - snapshotUrls: ['https://i.gkd.li/import/12642238'], + snapshotUrls: [ + 'https://i.gkd.li/import/12642238', + 'https://i.gkd.li/import/14006206', // com.tencent.mm.plugin.webview.ui.tools.fts.MMSosWebViewUI + ], }, { key: 3, @@ -514,5 +526,31 @@ export default defineAppConfig({ }, ], }, + { + key: 21, + name: '全屏广告-小程序-同程旅行', + desc: '首页弹窗广告', + rules: [ + { + activityIds: 'com.tencent.mm.plugin.appbrand.ui.AppBrandUI00', + matches: + '@Image[visibleToUser=true] <2 View[childCount=2] -2 [text="广告"]', + snapshotUrls: 'https://i.gkd.li/import/13999900', + }, + ], + }, + { + key: 22, + name: '功能类-开启青少年模式后的每日验证', + desc: '点击"验证密码"', + rules: [ + { + activityIds: 'com.tencent.mm.plugin.webview.ui.tools.MMWebViewUI', + matches: + 'WebView[childCount=6] View[index=4] > [text="验证密码"][clickable=true]', + snapshotUrls: 'https://i.gkd.li/import/14050004', + }, + ], + }, ], });