mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 00:35:17 +08:00
fix(微信): 订阅号文章广告 (#386)
* fix(微信) * fix 修复 key 6 与 key 8 相互干扰的问题 * fix(微信) * polish some words * fix(微信) * 目标节点切换至 clickable=true 属性的 View
This commit is contained in:
@@ -124,11 +124,12 @@ export default defineAppConfig({
|
|||||||
key: 1,
|
key: 1,
|
||||||
name: '广告类型1',
|
name: '广告类型1',
|
||||||
matches:
|
matches:
|
||||||
'View[childCount=1] >(4) @[id="feedbackTagContainer"][visibleToUser=true] > [id=null][text="广告"]',
|
'View[id="ad_container"] > View[childCount=1] >n @View > [id=null][text^="广告"][visibleToUser=true]',
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://gkd-kit.gitee.io/import/12642232',
|
'https://gkd-kit.gitee.io/import/12642232',
|
||||||
'https://gkd-kit.gitee.io/import/12646837', // 事件完成后,反馈按钮仍然存在,使用 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] 进行限定,防止打开文章就频繁触发规则
|
||||||
|
'https://gkd-kit.gitee.io/import/12714427', // 优化规则,使用 View[id="ad_container"] 作为特征节点
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -172,8 +173,13 @@ export default defineAppConfig({
|
|||||||
key: 1,
|
key: 1,
|
||||||
// preKeys: [1], 取消 preKeys 提高点击成功率
|
// preKeys: [1], 取消 preKeys 提高点击成功率
|
||||||
name: '点击不感兴趣',
|
name: '点击不感兴趣',
|
||||||
matches: '[id^="menu"] > [id="dislike"][text="不感兴趣"]',
|
matches:
|
||||||
snapshotUrls: ['https://gkd-kit.gitee.io/import/12642234'],
|
'[id="feedbackTagContainer"][visibleToUser=true] + [id^="menu"] > [id="dislike"][text="不感兴趣"][visibleToUser=true]',
|
||||||
|
snapshotUrls: [
|
||||||
|
'https://gkd-kit.gitee.io/import/12642234',
|
||||||
|
'https://gkd-kit.gitee.io/import/12722301',
|
||||||
|
'https://gkd-kit.gitee.io/import/12722331', // 使用 [id="feedbackTagContainer"][visibleToUser=true] 进行限定,防止反馈界面未出现就触发规则
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 2,
|
key: 2,
|
||||||
|
|||||||
Reference in New Issue
Block a user