mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-19 16:25:09 +08:00
fix(微信): 订阅号文章广告 (#375)
* fix(微信) * fix 修复 key 6 与 key 8 相互干扰的问题 * fix(微信) * polish some words
This commit is contained in:
@@ -114,37 +114,33 @@ export default defineAppConfig({
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
enable: false,
|
|
||||||
key: 6,
|
key: 6,
|
||||||
name: '订阅号文章底部广告',
|
name: '订阅号文章广告',
|
||||||
desc: '自动点击-广告反馈按钮-不感兴趣-与我无关',
|
desc: '自动点击关闭按钮,必须同时启用【订阅号文章广告反馈】规则',
|
||||||
activityIds:
|
activityIds:
|
||||||
'com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewMMUI',
|
'com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewMMUI',
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
name: '点击广告反馈按钮',
|
name: '广告类型1',
|
||||||
matches:
|
matches:
|
||||||
'View[childCount=1] >(4) @[id="feedbackTagContainer"][visibleToUser=true] > [id=null][text="广告"]',
|
'View[childCount=1] >(4) @[id="feedbackTagContainer"][visibleToUser=true] > [id=null][text="广告"]',
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://gkd-kit.gitee.io/import/12642232',
|
'https://gkd-kit.gitee.io/import/12642232',
|
||||||
'https://gkd-kit.gitee.io/import/12646837', // key: 3 事件完成后,反馈按钮仍然存在,使用 View[childCount=1] 进行限定,防止频繁触发规则
|
'https://gkd-kit.gitee.io/import/12646837', // 事件完成后,反馈按钮仍然存在,使用 View[childCount=1] 进行限定,防止频繁触发规则
|
||||||
'https://gkd-kit.gitee.io/import/12678937', // 文章未浏览至页面底部,广告反馈按钮不可见,使用 [visibleToUser=true] 进行限定,防止打开文章就频繁触发规则
|
'https://gkd-kit.gitee.io/import/12678937', // 文章未浏览至页面底部,广告反馈按钮不可见,使用 [visibleToUser=true] 进行限定,防止打开文章就频繁触发规则
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 2,
|
key: 2,
|
||||||
preKeys: [1],
|
name: '广告类型2',
|
||||||
name: '点击不感兴趣',
|
matches:
|
||||||
matches: '[id^="menu"] > [id="dislike"][text="不感兴趣"]',
|
'View[childCount=1] > @[id="feedbackTagContainer"][visibleToUser=true] > [id="feedbackTag"]',
|
||||||
snapshotUrls: ['https://gkd-kit.gitee.io/import/12642234'],
|
snapshotUrls: [
|
||||||
},
|
'https://gkd-kit.gitee.io/import/12700183',
|
||||||
{
|
'https://gkd-kit.gitee.io/import/12701503', // 事件完成后,采用[childCount=1]进行限定,防止频繁触发规则
|
||||||
key: 3,
|
'https://gkd-kit.gitee.io/import/12714424',
|
||||||
preKeys: [2],
|
],
|
||||||
name: '点击与我无关',
|
|
||||||
matches: '[id^="menu"] > [id="isdismatch"][text="与我无关"]',
|
|
||||||
snapshotUrls: ['https://gkd-kit.gitee.io/import/12642238'],
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@@ -167,22 +163,28 @@ export default defineAppConfig({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 8,
|
key: 8,
|
||||||
name: '订阅号文章中间广告',
|
name: '订阅号文章广告反馈',
|
||||||
desc: '自动点击-关闭此广告',
|
desc: '自动点击反馈理由,配合【订阅号文章广告】规则使用',
|
||||||
activityIds:
|
activityIds:
|
||||||
'com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewMMUI',
|
'com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebViewMMUI',
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
matches:
|
// preKeys: [1], 取消 preKeys 提高点击成功率
|
||||||
'View[childCount=1] > @[id="feedbackTagContainer"][visibleToUser=true] > [id="feedbackTag"]',
|
name: '点击不感兴趣',
|
||||||
snapshotUrls: [
|
matches: '[id^="menu"] > [id="dislike"][text="不感兴趣"]',
|
||||||
'https://gkd-kit.gitee.io/import/12700183',
|
snapshotUrls: ['https://gkd-kit.gitee.io/import/12642234'],
|
||||||
'https://gkd-kit.gitee.io/import/12701503', // 事件完成后,采用[childCount=1]进行限定,防止频繁触发规则
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 2,
|
key: 2,
|
||||||
|
// preKeys: [2], 取消 preKeys 提高点击成功率
|
||||||
|
name: '点击与我无关',
|
||||||
|
matches: '[id^="menu"] > [id="isdismatch"][text="与我无关"]',
|
||||||
|
snapshotUrls: ['https://gkd-kit.gitee.io/import/12642238'],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 3,
|
||||||
|
name: '点击关闭此广告',
|
||||||
matches: 'TextView[id="closeBtn"][text="关闭此广告"]',
|
matches: 'TextView[id="closeBtn"][text="关闭此广告"]',
|
||||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12700191',
|
snapshotUrls: 'https://gkd-kit.gitee.io/import/12700191',
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user