Skip to content

能写出同时满足3个按钮的规则吗? #891

Answered by lisonge
boplay asked this question in Q&A
Discussion options

You must be logged in to vote

设置 matchRoot=true

https://gkd.li/api/interfaces/RawAppGroup#matchroot

{
  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',
matchRoot: true,
        },
      ],
    },
  ],
}

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@lisonge
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by lisonge
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants