diff --git a/src/appDeprecatedKeys.ts b/src/appDeprecatedKeys.ts index dc176c62..f70465c2 100644 --- a/src/appDeprecatedKeys.ts +++ b/src/appDeprecatedKeys.ts @@ -842,6 +842,11 @@ const appDeprecatedKeys: RawDeprecatedKeysSetting[] = [ name: '小组件盒子', deprecatedKeys: [1], }, + { + id: 'com.tencent.qqmusic', + name: 'QQ音乐', + deprecatedKeys: [10], + }, ]; const map: Map = new Map(); diff --git a/src/apps/com.tencent.qqmusic.ts b/src/apps/com.tencent.qqmusic.ts index 0a9c973f..bde6ae5f 100644 --- a/src/apps/com.tencent.qqmusic.ts +++ b/src/apps/com.tencent.qqmusic.ts @@ -138,10 +138,21 @@ export default defineGkdApp({ resetMatch: 'app', activityIds: '.activity.AppStarterActivity', matches: - '@ImageView[childCount=0][visibleToUser=true] <3 FrameLayout[childCount=3] <2 FrameLayout < FrameLayout < FrameLayout < FrameLayout < [id="android:id/content"]', + '@ImageView[childCount=0][visibleToUser=true][width<120 && height<120] <3 FrameLayout[childCount=3] <2 FrameLayout < FrameLayout < FrameLayout < FrameLayout < [id="android:id/content"]', exampleUrls: 'https://e.gkd.li/881cddd2-e4ec-472e-8bf8-00f26f61cbc4', snapshotUrls: 'https://i.gkd.li/i/18439138', }, + { + key: 3, + fastQuery: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + activityIds: '.activity.AppStarterActivity', + matches: + '@ImageView[childCount=0][visibleToUser=true][width<120 && height<120] < FrameLayout < FrameLayout < FrameLayout <2 FrameLayout < FrameLayout < FrameLayout < FrameLayout < [id="android:id/content"]', + snapshotUrls: 'https://i.gkd.li/i/20745872', + }, ], }, { @@ -270,22 +281,6 @@ export default defineGkdApp({ }, ], }, - { - key: 10, - name: '全屏广告-签到弹窗', - desc: '点击关闭', - matchTime: 10000, - actionMaximum: 1, - resetMatch: 'app', - rules: [ - { - activityIds: 'com.tencent.qqmusic.activity.AppStarterActivity', - matches: - '[id="android:id/content"] > FrameLayout > FrameLayout > ViewGroup[childCount=2] > ViewGroup > ViewGroup[clickable=true][childCount=0]', - snapshotUrls: 'https://i.gkd.li/i/15443191', - }, - ], - }, { key: 11, name: '其他-播放页[猜你也会喜欢]推荐',