mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 01:04:53 +08:00
46 lines
1.1 KiB
TypeScript
46 lines
1.1 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.miui.systemAdSolution',
|
|
name: '智能服务',
|
|
deprecatedKeys: [1],
|
|
groups: [
|
|
{
|
|
// 全局规则无效,单独规则有效
|
|
key: 0,
|
|
name: '开屏广告',
|
|
quickFind: true,
|
|
matchTime: 10000,
|
|
resetMatch: 'app',
|
|
actionMaximum: 1,
|
|
rules: [
|
|
{
|
|
matches: '[text*="跳过"][text.length<10][visibleToUser=true]',
|
|
snapshotUrls: 'https://i.gkd.li/i/14927422',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 2,
|
|
name: '分段广告-为什么不希望看到这条推广',
|
|
desc: '点击"不感兴趣"',
|
|
activityIds: [
|
|
'com.xiaomi.ad.feedback',
|
|
'com.android.thememanager.module.detail.view.ThemeDetailActivity',
|
|
'com.android.thememanager.ThemeResourceProxyTabActivity',
|
|
],
|
|
rules: [
|
|
{
|
|
quickFind: true,
|
|
matches: '[text="不感兴趣"]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/i/13227328',
|
|
'https://i.gkd.li/i/13255751',
|
|
'https://i.gkd.li/i/14946925',
|
|
],
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|