mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 00:35:17 +08:00
feat(QQ音乐): 开屏广告 (#215)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { matches } from 'lodash';
|
||||
import { defineAppConfig } from '../types';
|
||||
|
||||
export default defineAppConfig({
|
||||
@@ -7,18 +8,29 @@ export default defineAppConfig({
|
||||
{
|
||||
key: 0,
|
||||
name: '开屏广告',
|
||||
rules: [
|
||||
{
|
||||
activityIds: [
|
||||
'com.tencent.qqmusic.activity.AppStarterActivity',
|
||||
'com.tencent.qqmusic.business.splash.thirdpartsplash.tme.union.SplashDialog',
|
||||
'com.miui.home.launcher.Launcher',
|
||||
],
|
||||
matches: 'TextView[text=`跳过`][clickable=true]',
|
||||
snapshotUrls: [
|
||||
'https://gkd-kit.gitee.io/import/12673960', // text="互动广告"
|
||||
'https://gkd-kit.gitee.io/import/12674023', // text="互动广告 | "
|
||||
'https://gkd-kit.gitee.io/import/12673998', // text="广告"
|
||||
'https://gkd-kit.gitee.io/import/12674074', // text="运营推广"
|
||||
],
|
||||
},
|
||||
],
|
||||
rules: 'TextView[text=`跳过`][clickable=true]',
|
||||
},
|
||||
{
|
||||
key: 1,
|
||||
name: '推荐页-广告卡片',
|
||||
activityIds: 'com.tencent.qqmusic.activity.AppStarterActivity',
|
||||
rules: [
|
||||
'@LinearLayout[clickable=true] > TextView[text=\'广告\'] + ImageView', // 1688045698846
|
||||
'@LinearLayout[clickable=true] > TextView[text="广告"] + ImageView', // 1688045698846
|
||||
'TextView[text="广告 | 关闭"][clickable=true]',
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user