import { defineGkdApp } from '@gkd-kit/define'; export default defineGkdApp({ id: 'com.huawei.browser', name: '华为浏览器', groups: [ { key: 0, name: '开屏广告', fastQuery: true, matchTime: 10000, actionMaximum: 1, resetMatch: 'app', priorityTime: 10000, rules: [ { action: 'clickCenter', matches: '[text*="跳过"][text.length<10][visibleToUser=true]', snapshotUrls: 'https://i.gkd.li/i/13403785', }, ], }, { key: 1, name: '权限提示-通知权限', desc: '关闭资讯通知后,总是弹窗让打开', rules: [ { fastQuery: true, matches: '[id="com.huawei.browser:id/close_push_guide_window"]', exampleUrls: 'https://m.gkd.li/87047583/3982b64a-15a7-4c0c-b179-2ed82d6ea18e', snapshotUrls: 'https://i.gkd.li/i/13692404', }, ], }, { key: 2, name: '局部广告-卡片广告', desc: '点击关闭', rules: [ { fastQuery: true, activityIds: 'com.huawei.browser.customtab.EmuiBrowserCustomTabActivity', matches: 'View[id="root"] > View[index=1] > @View[visibleToUser=true][id="logo-close-btn"] <