Start kiss-firefox template

This commit is contained in:
2023-04-19 10:58:45 -06:00
commit a75e4f58e6
6 changed files with 36 additions and 0 deletions

2
template/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
bin/
*.zip

6
template/build.hxml Normal file
View 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 B

20
template/manifest.json Normal file
View 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"]
}
]
}

View File

@@ -0,0 +1,7 @@
package template;
class Main {
static function main() {
Main_.main();
}
}

View File

@@ -0,0 +1 @@
(set js.Lib.global.document.body.style.border "5px solid red")