fix: #995、#993

This commit is contained in:
AIsouler
2025-06-17 19:44:03 +08:00
parent 8041bb7851
commit 418cc975c9
2 changed files with 25 additions and 3 deletions

View File

@@ -7,6 +7,7 @@ export default defineGkdApp({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
fastQuery: true,
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
@@ -15,15 +16,20 @@ export default defineGkdApp({
rules: [ rules: [
{ {
key: 0, key: 0,
fastQuery: true, action: 'clickCenter',
matches: '[vid="hiad_skip_text"]', matches: '[vid="hiad_skip_text"]',
snapshotUrls: 'https://i.gkd.li/i/15523945', snapshotUrls: 'https://i.gkd.li/i/15523945',
}, },
{ {
key: 1, key: 1,
matches: '[text*="跳过"][text.length<10][visibleToUser=true]', action: 'clickCenter',
matches:
'([text*="跳过"][text.length<10][visibleToUser=true]) || ([visibleToUser=true][text*="跳过"][text.length<10])',
exampleUrls: 'https://e.gkd.li/ec00ceef-3930-4240-92f5-56816fc90be2', exampleUrls: 'https://e.gkd.li/ec00ceef-3930-4240-92f5-56816fc90be2',
snapshotUrls: 'https://i.gkd.li/i/20745477', snapshotUrls: [
'https://i.gkd.li/i/20745477',
'https://i.gkd.li/i/20773665',
],
}, },
], ],
}, },

View File

@@ -4,6 +4,22 @@ export default defineGkdApp({
id: 'com.huawei.music', id: 'com.huawei.music',
name: '华为音乐', name: '华为音乐',
groups: [ groups: [
{
key: 0,
name: '开屏广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
priorityTime: 10000,
rules: [
{
fastQuery: true,
action: 'clickCenter',
matches: '[text*="跳过"][text.length<10][visibleToUser=true]',
snapshotUrls: 'https://i.gkd.li/i/20773821',
},
],
},
{ {
key: 3, key: 3,
name: '局部广告-播放界面直播浮窗', name: '局部广告-播放界面直播浮窗',