Replies: 1 comment 1 reply
-
|
有的开屏广告需要点击两次才能跳过 规则默认冷却时间是一秒,你可以把这个值设置的小一点 https://gkd.li/api/interfaces/RawAppGroup#actioncd |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
写了一个跳过京东开屏广告的规则,但有时候过1秒才点击“跳过”按钮,有时候过2秒才点击“跳过”按钮,有时候压根就不点击“跳过”按钮


快照:https://i.gkd.li/i/24100566
规则:
{
key: 0,
name: '开屏广告',
fastQuery: true,
priorityTime: 3000,
order: -10,
matchTime: 3000,
resetMatch: 'app',
activityIds: [
'.MainFrameActivity',
],
rules: [
{
matches: [
'@TextView[text="跳过"] < RelativeLayout[vid="b22"]',
],
},
],
}
这是过1秒点击“跳过”按钮的记录
这是过2秒点击“跳过”按钮的记录,不点击“跳过”按钮的时候只有1个“开屏广告”的触发记录。如果添加actionMaximum: 1,那么就不会跳过开屏广告。是我缺少了什么条件吗?为什么要点击2次才能跳过开屏广告?请大佬解惑,十分感谢!
Beta Was this translation helpful? Give feedback.
All reactions