feat(华为天气): 开屏广告-规则优化 (#1701)

This commit is contained in:
lisonge
2023-11-01 20:27:25 +08:00
parent 776534e35a
commit a72b0791b6

View File

@@ -7,15 +7,21 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
quickFind: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
rules: [ rules: [
{ {
matches: '[id="com.huawei.hms.ads.uiengine:id/hiad_skip_text"]', quickFind: true,
matches: [
'[id="com.huawei.android.totemweather:id/rl_splash_container"]',
'[text.length<=4][text^="跳过"]', // 无法使用 quickFind
],
action: 'clickCenter', // 根据 https://github.com/gkd-kit/subscription/pull/1180#issuecomment-1767735683 反馈,此处使用 clickCenter 事件。 action: 'clickCenter', // 根据 https://github.com/gkd-kit/subscription/pull/1180#issuecomment-1767735683 反馈,此处使用 clickCenter 事件。
snapshotUrls: 'https://gkd-kit.gitee.io/import/12928975', snapshotUrls: [
'https://gkd-kit.gitee.io/import/12928975',
'https://gkd-kit.gitee.io/import/13226636',
],
}, },
], ],
}, },