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

Commit

Permalink
feat(虎牙直播): 直播间悬浮广告 (#2224)
Browse files Browse the repository at this point in the history
close #2212
  • Loading branch information
jiuqianyuan authored Nov 18, 2023
1 parent fb54abb commit 3bf46f7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/apps/com.duowan.kiwi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
Expand All @@ -30,6 +31,7 @@ export default defineAppConfig({
'com.duowan.kiwi.homepage.Homepage', // 缺少快照
'com.duowan.kiwi.immersepage.impl.ImmersePageActivity',
],
quickFind: true,
matchLauncher: true,
rules:
'[id="com.duowan.kiwi:id/hyui_dialog_button_positive"][text="我知道了"]',
Expand All @@ -38,6 +40,7 @@ export default defineAppConfig({
{
key: 2,
name: '直播间悬浮广告',
quickFind: true,
activityIds: 'com.duowan.kiwi.liveroom.ChannelPage',
rules: [
{
Expand All @@ -48,6 +51,14 @@ export default defineAppConfig({
'https://i.gkd.li/import/12901044',
],
},
{
key: 1,
matches: '[id="com.duowan.kiwi:id/game_header_close"]',
snapshotUrls: [
'https://i.gkd.li/import/13395604',
'https://i.gkd.li/import/13395606',
],
},
],
},
],
Expand Down

0 comments on commit 3bf46f7

Please sign in to comment.