You've already forked bilibili-subtitle
分离设置页面
This commit is contained in:
@@ -11,6 +11,6 @@
|
||||
<meta name="keywords" content="哔哩哔哩,b站,字幕" />
|
||||
</head>
|
||||
<body>
|
||||
<script type="module" src="/src/main.tsx"></script>
|
||||
<script type="module" src="/src/Main.tsx"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@@ -27,6 +27,7 @@ export default defineManifest(async (env) => ({
|
||||
"service_worker": "src/chrome/background.ts",
|
||||
"type": "module"
|
||||
},
|
||||
"options_page": "options.html",
|
||||
"content_scripts": [
|
||||
{
|
||||
"matches": ["https://*.bilibili.com/*"],
|
||||
|
17
options.html
Normal file
17
options.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-theme="light">
|
||||
<head>
|
||||
<title>哔哩哔哩字幕列表设置</title>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
|
||||
<link rel="icon" href="/favicon-16x16.png" sizes="16x16">
|
||||
<link rel="icon" href="/favicon-32x32.png" sizes="32x32">
|
||||
<link rel="icon" href="/favicon-64x64.png" sizes="64x64">
|
||||
<link rel="icon" href="/favicon-128x128.png" sizes="128x128">
|
||||
<link rel="manifest" href="/manifest.json" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
</head>
|
||||
<body>
|
||||
<script type="module" src="/src/Main.tsx"></script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user