feat(智能服务): 开屏广告

This commit is contained in:
AIsouler
2024-04-11 11:19:47 +08:00
parent 02f6e11ea4
commit c2f77d1ebc
2 changed files with 12 additions and 13 deletions

View File

@@ -5,18 +5,18 @@ export default defineAppConfig({
name: '智能服务', name: '智能服务',
groups: [ groups: [
{ {
key: 1, // 全局规则无效,单独规则有效
name: '分段广告-为什么不希望看到这条推广', key: 0,
desc: '点击"不感兴趣"', name: '开屏广告',
activityIds: [ quickFind: true,
'com.xiaomi.ad.feedback', matchTime: 10000,
'com.android.thememanager.module.detail.view.ThemeDetailActivity', resetMatch: 'app',
'com.android.thememanager.ThemeResourceProxyTabActivity', actionMaximum: 1,
], rules: [
rules: '[id="com.miui.systemAdSolution:id/no_interest"]', {
snapshotUrls: [ matches: '[text*="跳过"][text.length<10][visibleToUser=true]',
'https://i.gkd.li/i/13227328', // com.android.thememanager.module.detail.view.ThemeDetailActivity snapshotUrls: 'https://i.gkd.li/i/14927422',
'https://i.gkd.li/i/13255751', // com.android.thememanager.ThemeResourceProxyTabActivity },
], ],
}, },
], ],

View File

@@ -181,7 +181,6 @@ export const openAdWhiteListAppIDs = new Set([
...whiteListAppIDs, ...whiteListAppIDs,
'com.bbk.theme', // i 主题 'com.bbk.theme', // i 主题
'com.bbk.appstore', // vivo应用商店 'com.bbk.appstore', // vivo应用商店
'com.miui.systemAdSolution', // 小米智能服务
'com.huawei.appmarket', // 华为应用市场 'com.huawei.appmarket', // 华为应用市场
'com.miui.player', // 小米音乐 'com.miui.player', // 小米音乐
]); ]);