aboutsummaryrefslogtreecommitdiffstats
path: root/firefox/manifest.json
diff options
context:
space:
mode:
Diffstat (limited to 'firefox/manifest.json')
-rw-r--r--firefox/manifest.json48
1 files changed, 48 insertions, 0 deletions
diff --git a/firefox/manifest.json b/firefox/manifest.json
new file mode 100644
index 0000000..82c3c35
--- /dev/null
+++ b/firefox/manifest.json
@@ -0,0 +1,48 @@
+{
+ "manifest_version": 2,
+ "name": "JP-Hash",
+ "version": "1.0",
+
+ "description": "Converts any text input field content into its JP-Hash",
+
+ "homepage_url" : "https://www.kylheku.com/cgit/jp-hash/about",
+
+ "icons": {
+ "48": "jp-hash-48.png",
+ "96": "jp-hash-96.png"
+ },
+
+ "background": {
+ "scripts": ["background.js"]
+ },
+
+ "content_scripts": [
+ {
+ "matches": ["<all_urls>"],
+ "js": ["jp-hash.js"]
+ }
+ ],
+
+ "browser_action": {
+ "default_icon": "jp-hash-32.png",
+ "default_title": "Calculate JP-Hash"
+ },
+
+ "commands": {
+ "_execute_browser_action": {
+ "suggested_key": {
+ "default": "Alt+J"
+ }
+ }
+ },
+
+ "permissions": [
+ "<all_urls>", "webNavigation"
+ ],
+
+ "browser_specific_settings": {
+ "gecko": {
+ "id": "json-hash@kylheku.com"
+ }
+ }
+}