Skip to content
This repository was archived by the owner on Apr 19, 2024. It is now read-only.

feat(浏览器):卡片广告 #3997

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion src/apps/com.huawei.browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default defineAppConfig({
},
{
key: 1,
name: '开启资讯通知弹窗',
name: '通知提示-开启资讯通知弹窗',
desc: '关闭资讯通知后,总是弹窗让打开',
rules: [
{
Expand All @@ -35,5 +35,19 @@ export default defineAppConfig({
},
],
},
{
key: 2,
name: '局部广告-卡片广告',
desc: '点击X',
rules: [
{
activityIds:
'com.huawei.browser.customtab.EmuiBrowserCustomTabActivity',
matches:
'View[id="root"] > View[index=1] > View[id="logo-close-btn"]',
snapshotUrls: 'https://i.gkd.li/import/13997759',
},
],
},
],
});
Loading