feat(小熊油耗): 弹窗广告 (#911)

* feat(小熊油耗): 弹窗广告

* feat(小熊油耗): 弹窗广告

* feat(小熊油耗): 广告弹窗-规则优化

---------

Co-authored-by: shanlan <hi@gobyte.cn>
Co-authored-by: lisonge <i@songe.li>
This commit is contained in:
shanlanCoding 2023-10-11 14:27:02 +08:00 committed by GitHub
parent d024fe8168
commit 514f744dac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,15 +22,21 @@ export default defineAppConfig({
},
{
key: 1,
name: '第三方 SDK 广告',
name: '广告弹窗',
activityIds:
'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity',
rules: [
{
key: 0,
name: '穿山甲',
activityIds:
'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity',
name: '点击右上角x',
matches: '@Image < View + View >2 TextView[text="广告"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12754919',
snapshotUrls: ['https://gkd-kit.gitee.io/import/12754919'],
},
{
key: 1,
name: '点击右上角[数字s|跳过]',
matches: '[text="广告"] + View >4 [text="| 跳过"]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/12864214'],
},
],
},