mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-22 09:45:11 +08:00
perf(全局规则): 开屏广告 (#537)
极少数开屏广告需要用 vid*=countdown 才能匹配上,但 vid*=countdown 误触概率却比较高,因此去掉
This commit is contained in:
24
src/apps/com.shaoniandream.ts
Normal file
24
src/apps/com.shaoniandream.ts
Normal 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',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
25
src/apps/com.simplesecurity.english.ts
Normal file
25
src/apps/com.simplesecurity.english.ts
Normal 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',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user