能写出同时满足3个按钮的规则吗?
#891
-
在某个讨论里看到同时有2个按钮的规则的写法,2个按钮之间没有关联,只是同时存在。参照写了同时满足3个按钮的规则,好像不起作用。 {
id: 'com.kmxs.reader',
name: '七猫免费小说',
groups: [
{
key: 1,
name: '听书前视频广告',
desc: '同时存在反馈|奖励已领取|跳过',
rules: [
{
activityIds: 'com.bytedance.sdk.openadsdk.core.component.reward.activity.TTRewardVideoActivity',
matches: [
'[text="反馈"]',
'[text="奖励已领取"]',
'[text$="跳过"]',
],
snapshotUrls: 'https://i.gkd.li/i/18870205',
},
],
},
],
} |
Beta Was this translation helpful? Give feedback.
Answered by
lisonge
Feb 21, 2025
Replies: 3 comments 1 reply
-
其中的
添加到APP后会变成
跳过后的逗号消失了,不清楚最后两个逗号是否应该写(跳过后的和最后一个]后的),请高手指点一下,谢谢! |
Beta Was this translation helpful? Give feedback.
1 reply
-
设置 matchRoot=true https://gkd.li/api/interfaces/RawAppGroup#matchroot
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lisonge
-
十分感谢!改好了,后面观查下看是不是全部生效。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
设置 matchRoot=true
https://gkd.li/api/interfaces/RawAppGroup#matchroot