mirror of
https://github.com/miljegen/browser-milje.git
synced 2024-12-22 15:37:28 +00:00
silly chrome store requirements and more boilerplate
This commit is contained in:
parent
fea7219a5e
commit
6bf8d0202c
2
assets/README.md
Normal file
2
assets/README.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
this is where milje image files go
|
||||||
|
should be transparent png's
|
@ -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
1
milje.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
console.log("this is where the milje code goes somehow...")
|
@ -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
1
scripts/content.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
//this is probably where the milje code goes
|
Loading…
Reference in New Issue
Block a user