feat(喜马拉雅): 首页-推荐列表广告, 播放页面-底部推荐列表-夹杂广告 (#291)

* feat(喜马拉雅)

* Update com.ximalaya.ting.android.ts
This commit is contained in:
Kun Jinkao 2023-09-23 23:00:00 +08:00 committed by GitHub
parent 66c72c6875
commit e649faa2a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,8 +50,12 @@ export default defineAppConfig({
},
{
activityIds: 'com.ximalaya.ting.android.host.activity.MainActivity',
matches: '[id="com.ximalaya.ting.android:id/main_close"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12506225',
matches:
'[id="com.ximalaya.ting.android:id/main_mark_text"] + [id="com.ximalaya.ting.android:id/main_close"][visibleToUser=true]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12506225',
'https://gkd-kit.gitee.io/import/12701414', // 关闭广告后,控件仍然存在但不可见,使用 visibleToUser=true 进行限定,防止关闭之后继续触发规则
],
},
],
},
@ -85,6 +89,12 @@ export default defineAppConfig({
matches: '[id="com.ximalaya.ting.android:id/xm_ad_close_real"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12506253',
},
{
activityIds: 'com.ximalaya.ting.android.host.activity.MainActivity',
matches:
'[id="com.ximalaya.ting.android:id/main_ad_dynamic_lay"] >(4) ImageView + ImageView',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12701374',
},
],
},
{