feat(华为音乐): 开屏广告-规则优化 (#1565)

* Fix(华为音乐):开屏广告

* feat(华为音乐): 开屏广告

---------

Co-authored-by: lisonge <i@songe.li>

close #1564
This commit is contained in:
jiuqianyuan
2023-10-30 00:44:42 +08:00
committed by GitHub
parent a27956ddfa
commit beb9bc078e

View File

@@ -7,23 +7,23 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
activityIds: 'com.android.mediacenter.PageActivity',
matchLauncher: true,
quickFind: true, quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [ rules: [
{ {
key: 0, key: 0,
matches: '[id="com.huawei.hms.ads.uiengine:id/hiad_skip_text"]', action: 'clickCenter',
snapshotUrls: 'https://i.gkd.li/import/12901417', matches: '[text^="跳过"][text.length<=10]',
exampleUrls: snapshotUrls: [
'https://i.gkd.li/import/12901417',
'https://i.gkd.li/import/12908742',
],
exampleUrls: [
'https://github.com/gkd-kit/inspect/assets/38517192/6c34cd13-cfda-4462-99ed-2a2534a6fdf5', 'https://github.com/gkd-kit/inspect/assets/38517192/6c34cd13-cfda-4462-99ed-2a2534a6fdf5',
},
{
key: 1,
matches: '[id="com.android.mediacenter:id/jump"]',
snapshotUrls: 'https://i.gkd.li/import/12908742',
exampleUrls:
'https://github.com/gkd-kit/inspect/assets/38517192/c71bb14d-cd1f-4f9e-8ee9-6a1e11e56901', 'https://github.com/gkd-kit/inspect/assets/38517192/c71bb14d-cd1f-4f9e-8ee9-6a1e11e56901',
],
}, },
], ],
}, },