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';
|
import { defineAppConfig } from '../types';
|
||||||
|
|
||||||
export default defineAppConfig({
|
export default defineAppConfig({
|
||||||
@@ -7,18 +8,29 @@ export default defineAppConfig({
|
|||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
name: '开屏广告',
|
name: '开屏广告',
|
||||||
|
rules: [
|
||||||
|
{
|
||||||
activityIds: [
|
activityIds: [
|
||||||
'com.tencent.qqmusic.activity.AppStarterActivity',
|
'com.tencent.qqmusic.activity.AppStarterActivity',
|
||||||
'com.tencent.qqmusic.business.splash.thirdpartsplash.tme.union.SplashDialog',
|
'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,
|
key: 1,
|
||||||
name: '推荐页-广告卡片',
|
name: '推荐页-广告卡片',
|
||||||
activityIds: 'com.tencent.qqmusic.activity.AppStarterActivity',
|
activityIds: 'com.tencent.qqmusic.activity.AppStarterActivity',
|
||||||
rules: [
|
rules: [
|
||||||
'@LinearLayout[clickable=true] > TextView[text=\'广告\'] + ImageView', // 1688045698846
|
'@LinearLayout[clickable=true] > TextView[text="广告"] + ImageView', // 1688045698846
|
||||||
'TextView[text="广告 | 关闭"][clickable=true]',
|
'TextView[text="广告 | 关闭"][clickable=true]',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user