msr-mod/public/manifest.json
Astrian Zheng 97d7bc0f4e
chore: 更新项目配置和样式以支持TailwindCSS
- 添加TailwindCSS依赖并配置Vite插件
- 修改App.vue中的文本内容
- 清理background.js中的冗余日志
- 更新index.html中的脚本路径以支持本地开发
- 在manifest.json中添加localhost权限和CSP配置
2025-05-24 09:16:03 +10:00

28 lines
749 B
JSON

{
"manifest_version": 3,
"name": "MSR Mod",
"version": "0.0.1",
"description": "A Vue-based browser extension.",
"content_scripts": [
{
"matches": ["https://monster-siren.hypergryph.com/"],
"js": ["content.js"],
"run_at": "document_end"
}
],
"host_permissions": ["https://monster-siren.hypergryph.com/*", "http://localhost:5173/*"],
"icons": {
"16": "vite.svg",
"48": "vite.svg",
"128": "vite.svg"
},
"background": {
"service_worker": "background.js"
},
"permissions": ["tabs", "webRequest"],
"content_security_policy": {
"extension_pages": "default-src 'self'; script-src 'self' http://localhost:5173; style-src 'self' 'unsafe-inline'; connect-src 'self' ws://localhost:5173;",
"sandbox": "sandbox"
}
}