silly chrome store requirements and more boilerplate

This commit is contained in:
Vuk 2024-08-13 14:59:10 +02:00
parent fea7219a5e
commit 6bf8d0202c
5 changed files with 22 additions and 2 deletions

2
assets/README.md Normal file
View File

@ -0,0 +1,2 @@
this is where milje image files go
should be transparent png's

View File

@ -6,5 +6,20 @@
"action": { "action": {
"default_popup": "popup.html", "default_popup": "popup.html",
"default_icon": "browser-milje.png" "default_icon": "browser-milje.png"
},
"icons": {
"16": "assets/icon-16.png",
"32": "assets/icon-32.png",
"48": "assets/icon-48.png",
"128": "assets/icon-128.png"
},
"content_scripts": [
{
"js": ["scripts/content.js"],
"matches": [
"https://developer.chrome.com/docs/extensions/*",
"https://developer.chrome.com/docs/webstore/*"
]
} }
]
} }

1
milje.js Normal file
View File

@ -0,0 +1 @@
console.log("this is where the milje code goes somehow...")

View File

@ -1,5 +1,6 @@
<html> <html>
<body> <body>
<h1>browser-milje!</h1> <h1>browser-milje!</h1>
<script src="milje.js"></script>
</body> </body>
</html> </html>

1
scripts/content.js Normal file
View File

@ -0,0 +1 @@
//this is probably where the milje code goes