Skip to content

Commit

Permalink
fix: 修复iframe下样式权限加载问题
Browse files Browse the repository at this point in the history
  • Loading branch information
eeelester committed Sep 24, 2024
1 parent 62e5cb2 commit 72c83f8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
DEVELOP.md

node_modules
.output
Expand Down
6 changes: 6 additions & 0 deletions wxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ export default defineConfig({
build: {
manifestGenerated(_,manifest: any) {
manifest.action.default_title = '在B站看直播全屏时展示SC';
manifest.web_accessible_resources = [
{
"resources": [ "*.css" ],
"matches": [ "https://live.bilibili.com/*" ]
}
]
},
},
},
Expand Down

0 comments on commit 72c83f8

Please sign in to comment.