summaryrefslogtreecommitdiff
path: root/HutchSafariExtension/Resources/manifest.json
diff options
context:
space:
mode:
Diffstat (limited to 'HutchSafariExtension/Resources/manifest.json')
-rw-r--r--HutchSafariExtension/Resources/manifest.json57
1 files changed, 57 insertions, 0 deletions
diff --git a/HutchSafariExtension/Resources/manifest.json b/HutchSafariExtension/Resources/manifest.json
new file mode 100644
index 0000000..7024f6d
--- /dev/null
+++ b/HutchSafariExtension/Resources/manifest.json
@@ -0,0 +1,57 @@
+{
+ "manifest_version": 3,
+ "name": "Open in Hutch",
+ "version": "1.0.0",
+ "description": "Open supported SourceHut pages in Hutch.",
+ "icons": {
+ "16": "icon-16.png",
+ "32": "icon-32.png",
+ "48": "icon-48.png",
+ "128": "icon-128.png"
+ },
+ "action": {
+ "default_title": "Open in Hutch",
+ "default_icon": {
+ "16": "icon-16.png",
+ "32": "icon-32.png",
+ "48": "icon-48.png",
+ "128": "icon-128.png"
+ }
+ },
+ "background": {
+ "scripts": [
+ "background.js"
+ ]
+ },
+ "content_scripts": [
+ {
+ "matches": [
+ "https://git.sr.ht/*",
+ "https://hg.sr.ht/*",
+ "https://todo.sr.ht/*",
+ "https://builds.sr.ht/*",
+ "https://lists.sr.ht/*",
+ "https://meta.sr.ht/*",
+ "https://sr.ht/*"
+ ],
+ "js": [
+ "content.js"
+ ],
+ "run_at": "document_idle"
+ }
+ ],
+ "permissions": [
+ "activeTab",
+ "scripting",
+ "storage"
+ ],
+ "host_permissions": [
+ "https://git.sr.ht/*",
+ "https://hg.sr.ht/*",
+ "https://todo.sr.ht/*",
+ "https://builds.sr.ht/*",
+ "https://lists.sr.ht/*",
+ "https://meta.sr.ht/*",
+ "https://sr.ht/*"
+ ]
+}