Start kiss-firefox template
This commit is contained in:
2
template/.gitignore
vendored
Normal file
2
template/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
bin/
|
||||
*.zip
|
6
template/build.hxml
Normal file
6
template/build.hxml
Normal file
@@ -0,0 +1,6 @@
|
||||
-lib kiss
|
||||
-cp src
|
||||
-dce full
|
||||
--main template.Main
|
||||
--js bin/main.js
|
||||
-cmd zip -r template.zip . -x *.git* -x *.hxml -x *.zip -x src/\*
|
BIN
template/icons/icon-48.png
Normal file
BIN
template/icons/icon-48.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 225 B |
20
template/manifest.json
Normal file
20
template/manifest.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
|
||||
"manifest_version": 2,
|
||||
"name": "",
|
||||
"version": "1.0",
|
||||
|
||||
"description": "",
|
||||
|
||||
"icons": {
|
||||
"48": "icons/icon-48.png"
|
||||
},
|
||||
|
||||
"content_scripts": [
|
||||
{
|
||||
"matches": ["*://*.mozilla.org/*"],
|
||||
"js": ["bin/main.js"]
|
||||
}
|
||||
]
|
||||
|
||||
}
|
7
template/src/template/Main.hx
Normal file
7
template/src/template/Main.hx
Normal file
@@ -0,0 +1,7 @@
|
||||
package template;
|
||||
|
||||
class Main {
|
||||
static function main() {
|
||||
Main_.main();
|
||||
}
|
||||
}
|
1
template/src/template/Main_.kiss
Normal file
1
template/src/template/Main_.kiss
Normal file
@@ -0,0 +1 @@
|
||||
(set js.Lib.global.document.body.style.border "5px solid red")
|
Reference in New Issue
Block a user