perf(全局规则): 开屏广告 (#537)

极少数开屏广告需要用 vid*=countdown 才能匹配上,但 vid*=countdown 误触概率却比较高,因此去掉
This commit is contained in:
AIsouler
2024-11-25 19:01:52 +08:00
parent 920535ffc3
commit 5ef3b4300c
4 changed files with 51 additions and 6 deletions

View File

@@ -0,0 +1,24 @@
import { defineGkdApp } from '@gkd-kit/define';
export default defineGkdApp({
id: 'com.shaoniandream',
name: '少年梦阅读',
groups: [
{
key: 0,
name: '开屏广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
priorityTime: 10000,
rules: [
{
fastQuery: true,
matches: '[id="com.shaoniandream:id/countdown"]',
exampleUrls: 'https://e.gkd.li/080e7f84-c8ac-48b3-ba82-c1dbb795f4f6',
snapshotUrls: 'https://i.gkd.li/i/13236791',
},
],
},
],
});

View File

@@ -0,0 +1,25 @@
import { defineGkdApp } from '@gkd-kit/define';
export default defineGkdApp({
id: 'com.simplesecurity.english',
name: '水果派',
groups: [
{
key: 0,
name: '开屏广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
priorityTime: 10000,
rules: [
{
fastQuery: true,
matchDelay: 3000, // 反馈3s后才能关闭
matches: '[text="关闭广告"]',
exampleUrls: 'https://e.gkd.li/8718ddc4-8775-482e-a259-bc43c7171fd8',
snapshotUrls: 'https://i.gkd.li/i/13447714',
},
],
},
],
});