diff --git a/src/apps/com.ximalaya.ting.android.ts b/src/apps/com.ximalaya.ting.android.ts index 2b92eae0..9241c925 100644 --- a/src/apps/com.ximalaya.ting.android.ts +++ b/src/apps/com.ximalaya.ting.android.ts @@ -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', + }, ], }, {