mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 01:04:53 +08:00
feat(华为浏览器): 开屏广告 (#230)
This commit is contained in:
20
src/apps/com.huawei.browser.ts
Normal file
20
src/apps/com.huawei.browser.ts
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
import { defineAppConfig } from '../types';
|
||||||
|
|
||||||
|
export default defineAppConfig({
|
||||||
|
id: 'com.huawei.browser',
|
||||||
|
name: '华为浏览器',
|
||||||
|
groups: [
|
||||||
|
{
|
||||||
|
key: 0,
|
||||||
|
name: '开屏广告',
|
||||||
|
activityIds: ['com.huawei.browser.BrowserMainActivity'],
|
||||||
|
rules: [
|
||||||
|
{
|
||||||
|
matches: '[id="com.huawei.hms.ads.uiengine:id/hiad_skip_text"]',
|
||||||
|
action: 'clickCenter',
|
||||||
|
snapshotUrls: ['https://gkd-kit.gitee.io/import/12681995'],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user