mirror of
https://github.com/movie-web/extension.git
synced 2025-09-13 18:13:25 +00:00
Repo setup and build step configuration
This commit is contained in:
BIN
src/assets/icons/16.png
Normal file
BIN
src/assets/icons/16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 637 B |
5
src/assets/manifest.chrome.json
Normal file
5
src/assets/manifest.chrome.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"background": {
|
||||
"service_worker": "index.js"
|
||||
}
|
||||
}
|
21
src/assets/manifest.common.json
Normal file
21
src/assets/manifest.common.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"manifest_version": 3,
|
||||
"name": "movie-web extension",
|
||||
"version": "0.1",
|
||||
"description": "Allows for sources to work without a proxy",
|
||||
"icons": {
|
||||
"16": "assets/icons/16.png"
|
||||
},
|
||||
"action": {
|
||||
"default_title": "movie-web extension",
|
||||
"default_popup": "popup.html"
|
||||
},
|
||||
"permissions": ["storage", "tabs", "cookies", "scripting"],
|
||||
"host_permissions": ["<all_urls>"],
|
||||
"web_accessible_resources": [
|
||||
{
|
||||
"resources": ["*.js.map"],
|
||||
"matches": ["<all_urls>"]
|
||||
}
|
||||
]
|
||||
}
|
10
src/assets/manifest.firefox.json
Normal file
10
src/assets/manifest.firefox.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"background": {
|
||||
"scripts": ["index.js"]
|
||||
},
|
||||
"browser_specific_settings": {
|
||||
"gecko": {
|
||||
"id": "extension-firefox@movie-web.app"
|
||||
}
|
||||
}
|
||||
}
|
1
src/index.ts
Normal file
1
src/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
console.log("testing");
|
9
src/popup.html
Normal file
9
src/popup.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>movie-web extension</title>
|
||||
<link rel="stylesheet" href="./popup/styles.css" />
|
||||
</head>
|
||||
<body>
|
||||
<script type="module" src="./popup/index.ts"></script>
|
||||
</body>
|
||||
</html>
|
1
src/popup/index.ts
Normal file
1
src/popup/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
console.log("popup js")
|
3
src/popup/styles.css
Normal file
3
src/popup/styles.css
Normal file
@@ -0,0 +1,3 @@
|
||||
.test {
|
||||
color: blue
|
||||
}
|
Reference in New Issue
Block a user