Skip to content
This repository was archived by the owner on Apr 19, 2024. It is now read-only.
Open
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
18 changes: 18 additions & 0 deletions src/apps/com.hunantv.imgo.activity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,23 @@ export default defineAppConfig({
},
],
},
{
name: '播放暂停界面广告',
key: 4,
id: 'com.hunantv.imgo.activity',
Comment on lines +84 to +86

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

规则命名要符合规范。
id行多余

activityIds: 'com.mgtv.ui.videoplay.MGVideoPlayActivity',
rules: [
{
key: 0,
matches: '[id="com.hunantv.imgo.activity:id/close_ad"]',
snapshotUrls: 'https://i.gkd.li/import/14001838'
},
{
key: 1,
matches: '[id="com.hunantv.imgo.activity:id/closeAdIcon"]',
snapshotUrls: 'https://i.gkd.li/import/14001714'
}
]
}
],
});