diff options
| author | Christian Cleberg <[email protected]> | 2026-05-14 12:41:55 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-05-14 12:41:55 -0500 |
| commit | 0d61e05e98f6f020722ee4d43f024c1da348d2a9 (patch) | |
| tree | b388972b86cf83de380381c52c4390c3beafc69a /HutchSafariExtension/Resources/manifest.json | |
| parent | f28e5cee1643e3f99d7bf90476d1dcf9347229a0 (diff) | |
| download | hutch-3.4.0.tar.gz hutch-3.4.0.tar.bz2 hutch-3.4.0.zip | |
feat: add Safari extension for sourcehut deep linksv3.4.0
Diffstat (limited to 'HutchSafariExtension/Resources/manifest.json')
| -rw-r--r-- | HutchSafariExtension/Resources/manifest.json | 57 |
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/*" + ] +} |
