diff --git a/src/apps/com.netease.cloudmusic.ts b/src/apps/com.netease.cloudmusic.ts index ba5b1531..06fc554f 100644 --- a/src/apps/com.netease.cloudmusic.ts +++ b/src/apps/com.netease.cloudmusic.ts @@ -57,5 +57,33 @@ export default defineAppConfig({ rules: ['@ImageView + ViewGroup > TextView[text="VIP歌曲免费听30分钟"]'], snapshotUrls: ['https://i.gkd.li/import/12843383'], }, + { + key: 4, + name: '广告弹窗', + activityIds: 'com.netease.cloudmusic.activity.MainActivity', + rules: [ + { + key: 0, + name: '音乐专辑售卖广告弹窗', + matches: 'WebView >n View > TextView + TextView + TextView', + snapshotUrls: 'https://gkd-kit.gitee.io/import/13188737', + }, + ], + }, + { + enable: false, + key: 5, + name: 'VIP 弹窗', + activityIds: + 'com.netease.cloudmusic.music.biz.rn.activity.MainProcessLayerReactNativeActivity', + rules: [ + { + key: 0, + matches: + '[text*="开通VIP"] + @ViewGroup[childCount=1][clickable=true] > ImageView', + snapshotUrls: 'https://gkd-kit.gitee.io/import/13189055', + }, + ], + }, ], });