mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-19 00:05:19 +08:00
46 lines
1.3 KiB
TypeScript
46 lines
1.3 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.xinhang.mobileclient',
|
|
name: '中国移动河南',
|
|
groups: [
|
|
{
|
|
key: 0,
|
|
name: '开屏广告',
|
|
activityIds:
|
|
'com.xinhang.mobileclient.launcher.activity.LauncherActivity',
|
|
matchLauncher: true,
|
|
rules: '[id="com.xinhang.mobileclient:id/cdp_skip"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13024858',
|
|
},
|
|
{
|
|
key: 1,
|
|
name: '应用内广告弹窗',
|
|
activityIds: 'com.xinhang.mobileclient.home.activity.HomeActivity',
|
|
rules: [
|
|
{
|
|
key: 0,
|
|
matches: 'View[desc^="close"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13024867',
|
|
},
|
|
{
|
|
key: 1,
|
|
matches: 'View > View > TextView + TextView[text=""]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13024869',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 2,
|
|
name: '右侧悬浮广告',
|
|
activityIds: 'com.xinhang.mobileclient.home.activity.HomeActivity',
|
|
rules:
|
|
'@[id="com.xinhang.mobileclient:id/iv_close"] + [id="com.xinhang.mobileclient:id/iv_advert"]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/import/13024863',
|
|
'https://i.gkd.li/import/13024872',
|
|
],
|
|
},
|
|
],
|
|
});
|