mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-22 09:45:11 +08:00
* Update com.kugou.android.ts 新增个人页广告横幅 新增VIP弹窗 * chore(actions): check_format_lint * Update com.kugou.android.ts * chore(actions): check_format_lint * Update com.kugou.android.ts * chore(actions): check_format_lint --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
53 lines
1.4 KiB
TypeScript
53 lines
1.4 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.kugou.android',
|
|
name: '酷狗音乐',
|
|
groups: [
|
|
{
|
|
key: 0,
|
|
name: '开屏广告',
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
rules: [
|
|
{
|
|
matches: '[desc="跳过"||desc="GdtCountDownView"]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/import/12775410',
|
|
'https://i.gkd.li/import/13426030',
|
|
'https://i.gkd.li/import/13468987',
|
|
],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 1,
|
|
name: '个人页顶部广告',
|
|
rules: [
|
|
{
|
|
activityIds: 'com.kugou.android.app.MediaActivity',
|
|
matches:
|
|
'ViewGroup[childCount=2] > ImageView + FrameLayout > LinearLayout > ImageView',
|
|
exampleUrls:
|
|
'https://m.gkd.li/87047583/9e150986-2103-4130-a12f-12ed2b07ef90',
|
|
snapshotUrls: 'https://i.gkd.li/import/13558426',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 2,
|
|
name: 'VIP弹窗',
|
|
rules: [
|
|
{
|
|
matches:
|
|
'RelativeLayout[childCount=2] > View + RelativeLayout[childCount=2] > @ImageView + RelativeLayout',
|
|
exampleUrls:
|
|
'https://m.gkd.li/87047583/84c1379f-5eb1-4982-b27b-35e267594101',
|
|
snapshotUrls: 'https://i.gkd.li/import/13548005',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|