aboutsummaryrefslogtreecommitdiff
path: root/manifest.json
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2021-12-22 16:39:34 +0100
committerWojtek Kosior <koszko@koszko.org>2021-12-22 16:39:34 +0100
commitb590eaa2f64ead3384eadc6fe58f6358aa1a0478 (patch)
tree8f1e9403c1a75246c2a9a0afc4ab30706ea7afbe /manifest.json
parentb7378a9994724750198e0d165c575be8538334fb (diff)
downloadbrowser-extension-b590eaa2f64ead3384eadc6fe58f6358aa1a0478.tar.gz
browser-extension-b590eaa2f64ead3384eadc6fe58f6358aa1a0478.zip
reworked build system; added missing license notices
Diffstat (limited to 'manifest.json')
-rw-r--r--manifest.json53
1 files changed, 47 insertions, 6 deletions
diff --git a/manifest.json b/manifest.json
index ded085e..7a9edd5 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,19 +1,53 @@
// This is the manifest file of Haketilo.
//
// Copyright (C) 2021 Wojtek Kosior
-// Redistribution terms are gathered in the `copyright' file.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the CC0 1.0 Universal License as published by
+// the Creative Commons Corporation.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// CC0 1.0 Universal License for more details.
+
+#IF NOT MOZILLA
+#IF NOT CHROMIUM
+#ERROR Target browser not selected! Please define 'MOZILLA' or 'CHROMIUM'.
+#ENDIF
+#ENDIF
+
{
+#IF MV2
"manifest_version": 2,
+#ELIF MV3
+ "manifest_version": 3,
+#ELSE
+#ERROR Manifest version not selected! Please define 'MV2'.
+#ENDIF
"name": "Haketilo",
"short_name": "Haketilo",
"version": "0.1",
"author": "Wojtek Kosior & contributors",
- "description": "Control your \"Web\" browsing.",_GECKO_APPLICATIONS_
+ "description": "Control your \"Web\" browsing.",
+#IF MOZILLA
+ "applications": {
+ "gecko": {
+ "id": "{6fe13369-88e9-440f-b837-5012fb3bedec}",
+ "strict_min_version": "60.0"
+ }
+ },
+#ENDIF
"icons":{
+#COPY_FILE icons/haketilo128.png
"128": "icons/haketilo128.png",
+#COPY_FILE icons/haketilo64.png
"64": "icons/haketilo64.png",
+#COPY_FILE icons/haketilo48.png
"48": "icons/haketilo48.png",
+#COPY_FILE icons/haketilo32.png
"32": "icons/haketilo32.png",
+#COPY_FILE icons/haketilo16.png
"16": "icons/haketilo16.png"
},
"permissions": [
@@ -38,16 +72,21 @@
"16": "icons/haketilo16.png"
},
"default_title": "Haketilo",
- "default_popup": "html/display-panel.html"
+#LOADHTML html/display_panel.html
+ "default_popup": "html/display_panel.html"
},
"options_ui": {
+#LOADHTML html/options.html
"page": "html/options.html",
"open_in_tab": true
- }_CHROMIUM_UPDATE_URL_,
+ },
+#COPY_FILE dummy
"web_accessible_resources": ["dummy"],
"background": {
"persistent": true,
- "scripts": [_BGSCRIPTS_]
+ "scripts": [
+#LOADJS background/main.js
+ ]
},
"content_scripts": [
{
@@ -55,7 +94,9 @@
"matches": ["<all_urls>"],
"match_about_blank": true,
"all_frames": true,
- "js": [_CONTENTSCRIPTS_]
+ "js": [
+#LOADJS content/main.js
+ ]
}
]
}