feat: QQ音乐-全屏广告 #990

This commit is contained in:
AIsouler
2025-06-15 21:50:53 +08:00
parent 706695d441
commit 85c1f9895a
2 changed files with 17 additions and 17 deletions

View File

@@ -842,6 +842,11 @@ const appDeprecatedKeys: RawDeprecatedKeysSetting[] = [
name: '小组件盒子',
deprecatedKeys: [1],
},
{
id: 'com.tencent.qqmusic',
name: 'QQ音乐',
deprecatedKeys: [10],
},
];
const map: Map<string, number[]> = new Map();

View File

@@ -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: '其他-播放页[猜你也会喜欢]推荐',