diff --git a/src/appDeprecatedKeys.ts b/src/appDeprecatedKeys.ts index aed34edc..8b0c4c59 100644 --- a/src/appDeprecatedKeys.ts +++ b/src/appDeprecatedKeys.ts @@ -476,7 +476,7 @@ const appDeprecatedKeys: RawDeprecatedKeysSetting[] = [ { id: 'com.tencent.mm', name: '微信', - deprecatedKeys: [3, 8, 12, 13, 14, 16, 20, 21, 23, 24, 27, 33], + deprecatedKeys: [3, 6, 8, 12, 13, 14, 16, 20, 21, 23, 24, 27, 33], }, { id: 'com.tencent.mobileqq', diff --git a/src/apps/com.tencent.mm.ts b/src/apps/com.tencent.mm.ts index 4ced8ffc..d12bce1b 100644 --- a/src/apps/com.tencent.mm.ts +++ b/src/apps/com.tencent.mm.ts @@ -227,71 +227,6 @@ export default defineGkdApp({ }, ], }, - { - key: 6, - name: '分段广告-订阅号文章广告', - desc: '点击[广告]按钮-点击[关闭此广告]/[不感兴趣]-点击[与我无关]', - forcedTime: 3000, - activityIds: [ - 'com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebView', //调整为TmplWebView, 同时兼容多种ID - 'com.tencent.mm.plugin.webview.ui.tools.fts.MMSosWebViewUI', - ], - // 不使用 preKeys 提高点击成功率 - rules: [ - // 第一段 - { - key: 1, - name: '点击[广告]按钮', - // 防止在第二段、第三段、出现时触发,防止在文章末尾广告关闭后触发 - excludeMatches: [ - '[text="不感兴趣" || text="与我无关" || text="感谢你的反馈"][visibleToUser=true]', - ], - matches: '[text="广告"][visibleToUser=true]', - snapshotUrls: [ - 'https://i.gkd.li/i/12642232', // ui.TmplWebViewMMUI - 'https://i.gkd.li/i/13199281', // ui.TmplWebViewTooLMpUI - 'https://i.gkd.li/i/14006180', // com.tencent.mm.plugin.webview.ui.tools.fts.MMSosWebViewUI - 'https://i.gkd.li/i/14834975', // 文章未浏览至页面底部,广告反馈按钮不可见,使用 [visibleToUser=true] 进行限定,防止打开文章就频繁触发规则 - 'https://i.gkd.li/i/15198464', // 使用excludeMatches防止在文章末尾广告关闭后误触 - 'https://i.gkd.li/i/15198413', // 无id - 'https://i.gkd.li/i/15198455', // 无id - ], - }, - // 第二段 - { - key: 25, - name: '点击[关闭此广告]', - matches: '[text="关闭此广告"][visibleToUser=true]', - snapshotUrls: [ - 'https://i.gkd.li/i/14834975', - 'https://i.gkd.li/i/15198422', // 无id - ], - }, - { - key: 26, - name: '点击[不感兴趣]', - excludeMatches: '[text="感谢你的反馈"][visibleToUser=true]', - matches: '[text="不感兴趣"][visibleToUser=true]', - snapshotUrls: [ - 'https://i.gkd.li/i/14006203', - 'https://i.gkd.li/i/14834966', - 'https://i.gkd.li/i/15061424', // 使用excludeMatches防止在文章末尾广告关闭后误触 - 'https://i.gkd.li/i/15198459', // 无id - ], - }, - // 第三段 - { - key: 50, - name: '点击[与我无关]', - matches: '[text="与我无关"][visibleToUser=true]', - snapshotUrls: [ - 'https://i.gkd.li/i/14006206', - 'https://i.gkd.li/i/14834959', - 'https://i.gkd.li/i/15198461', // 无id - ], - }, - ], - }, { key: 7, name: '功能类-自动选中发送原图',