mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-19 16:25:09 +08:00
feat: QQ音乐-全屏广告 #990
This commit is contained in:
@@ -842,6 +842,11 @@ const appDeprecatedKeys: RawDeprecatedKeysSetting[] = [
|
|||||||
name: '小组件盒子',
|
name: '小组件盒子',
|
||||||
deprecatedKeys: [1],
|
deprecatedKeys: [1],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: 'com.tencent.qqmusic',
|
||||||
|
name: 'QQ音乐',
|
||||||
|
deprecatedKeys: [10],
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
const map: Map<string, number[]> = new Map();
|
const map: Map<string, number[]> = new Map();
|
||||||
|
|||||||
@@ -138,10 +138,21 @@ export default defineGkdApp({
|
|||||||
resetMatch: 'app',
|
resetMatch: 'app',
|
||||||
activityIds: '.activity.AppStarterActivity',
|
activityIds: '.activity.AppStarterActivity',
|
||||||
matches:
|
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',
|
exampleUrls: 'https://e.gkd.li/881cddd2-e4ec-472e-8bf8-00f26f61cbc4',
|
||||||
snapshotUrls: 'https://i.gkd.li/i/18439138',
|
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,
|
key: 11,
|
||||||
name: '其他-播放页[猜你也会喜欢]推荐',
|
name: '其他-播放页[猜你也会喜欢]推荐',
|
||||||
|
|||||||
Reference in New Issue
Block a user