feat(QQ): 频道页面广告 (#342)

* feat(QQ)

* feat(QQ)

* feat(QQ): 频道页面广告-规则优化

---------

Co-authored-by: 二刺螈 <i@songe.li>
This commit is contained in:
Kun Jinkao 2023-09-25 00:56:46 +08:00 committed by GitHub
parent 6d0fcb5dc7
commit 1d4ae42d27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,11 +39,24 @@ export default defineAppConfig({
},
{
key: 3,
name: '频道页面-广告弹窗',
activityIds:
'com.tencent.qqlive.module.videoreport.inject.dialog.ReportDialog',
rules: ['ImageView[id="com.tencent.mobileqq:id/close"][clickable=true]'],
snapshotUrls: ['https://gkd-kit.gitee.io/import/12642081'],
name: '频道页面广告',
rules: [
{
name: '弹窗广告',
activityIds:
'com.tencent.qqlive.module.videoreport.inject.dialog.ReportDialog',
matches:
'ImageView[id="com.tencent.mobileqq:id/close"][clickable=true]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12642081',
},
{
name: '右侧悬浮广告',
activityIds: 'com.tencent.mobileqq.activity.SplashActivity',
matches:
'FrameLayout[desc="发表帖子"] - LinearLayout[id!=null] >3 ImageView[id!=null][clickable=false] - View[id!=null][clickable=true]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12708844',
},
],
},
{
enable: false,