mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 00:35:17 +08:00
75 lines
2.2 KiB
TypeScript
75 lines
2.2 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.tencent.qqmusic',
|
|
name: 'QQ音乐',
|
|
groups: [
|
|
{
|
|
key: 0,
|
|
name: '开屏广告',
|
|
quickFind: true,
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
rules: [
|
|
{
|
|
matches: 'TextView[text=`跳过`][clickable=true]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/import/12673960', // text="互动广告"
|
|
'https://i.gkd.li/import/12674023', // text="互动广告 | "
|
|
'https://i.gkd.li/import/12673998', // text="广告"
|
|
'https://i.gkd.li/import/12674074', // text="运营推广"
|
|
],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 1,
|
|
name: '广告卡片',
|
|
activityIds: 'com.tencent.qqmusic.activity.AppStarterActivity',
|
|
rules: [
|
|
{
|
|
key: 2,
|
|
matches: '[text="广告"] + * + [desc="关闭"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13206534',
|
|
},
|
|
{
|
|
key: 3,
|
|
matches:
|
|
'@ImageView - ImageView - RelativeLayout >n [text="听歌入会赢绿钻"||text="摇动点击广告跳转"]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/import/13206982',
|
|
'https://i.gkd.li/import/13218134',
|
|
],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 2,
|
|
name: '首页-底部广告弹窗',
|
|
quickFind: true,
|
|
activityIds: 'com.tencent.qqmusic.activity.TranslucentWebViewActivity',
|
|
rules: 'View[id="js_close_btn"][desc="关闭"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13115121',
|
|
},
|
|
{
|
|
key: 3,
|
|
name: '内测体验弹窗',
|
|
desc: '点击[不再提醒]',
|
|
activityIds: 'com.tencent.qqmusic.activity.AppStarterActivity',
|
|
quickFind: true,
|
|
rules: '[text="抢先体验"] -2 [text="不再提醒"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13178485',
|
|
},
|
|
{
|
|
key: 4,
|
|
name: '免流弹窗',
|
|
desc: '点击[流量够用]',
|
|
activityIds: 'com.tencent.qqmusic.activity.AppStarterActivity',
|
|
quickFind: true,
|
|
rules: '[text="流量够用"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13197868',
|
|
},
|
|
],
|
|
});
|