mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 17:25:11 +08:00
feat(荣耀浏览器): 开屏广告 (#666)
Signed-off-by: EvolvedGhost <92856393+EvolvedGhost@users.noreply.github.com> Co-authored-by: AIsouler <zy43220@gmail.com>
This commit is contained in:
23
src/apps/com.hihonor.baidu.browser.ts
Normal file
23
src/apps/com.hihonor.baidu.browser.ts
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
import { defineGkdApp } from '@gkd-kit/define';
|
||||||
|
|
||||||
|
export default defineGkdApp({
|
||||||
|
id: 'com.hihonor.baidu.browser',
|
||||||
|
name: '荣耀浏览器',
|
||||||
|
groups: [
|
||||||
|
{
|
||||||
|
key: 0,
|
||||||
|
name: '开屏广告',
|
||||||
|
fastQuery: true,
|
||||||
|
matchTime: 10000,
|
||||||
|
actionMaximum: 1,
|
||||||
|
resetMatch: 'app',
|
||||||
|
priorityTime: 10000,
|
||||||
|
rules: [
|
||||||
|
{
|
||||||
|
matches: 'TextView[text^="跳过"][text.length<10][visibleToUser=true]',
|
||||||
|
snapshotUrls: 'https://i.gkd.li/i/18279202',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user