mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 08:44:55 +08:00
feat(华为阅读): 开屏广告
This commit is contained in:
23
src/apps/com.huawei.hwread.dz.ts
Normal file
23
src/apps/com.huawei.hwread.dz.ts
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
import { defineGkdApp } from '@gkd-kit/define';
|
||||||
|
|
||||||
|
export default defineGkdApp({
|
||||||
|
id: 'com.huawei.hwread.dz',
|
||||||
|
name: '华为阅读',
|
||||||
|
groups: [
|
||||||
|
{
|
||||||
|
key: 1,
|
||||||
|
name: '开屏广告',
|
||||||
|
quickFind: true,
|
||||||
|
matchTime: 10000,
|
||||||
|
actionMaximum: 1,
|
||||||
|
resetMatch: 'app',
|
||||||
|
rules: [
|
||||||
|
{
|
||||||
|
action: 'clickCenter', // https://github.com/AIsouler/GKD_subscription/issues/246
|
||||||
|
matches: '[text*="跳过"][text.length<10][visibleToUser=true]',
|
||||||
|
snapshotUrls: 'https://i.gkd.li/i/15862073',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user