summaryrefslogtreecommitdiff
path: root/manifest.json
diff options
context:
space:
mode:
Diffstat (limited to 'manifest.json')
-rw-r--r--manifest.json44
1 files changed, 44 insertions, 0 deletions
diff --git a/manifest.json b/manifest.json
new file mode 100644
index 0000000..05aef1b
--- /dev/null
+++ b/manifest.json
@@ -0,0 +1,44 @@
+{
+ "manifest_version": 3,
+ "name": "Ollama Translations",
+ "version": "0.1.0",
+ "description": "Select text on a page and translate it with a local Ollama LLM via a small popover.",
+ "browser_specific_settings": {
+ "gecko": {
+ "id": "ollama-translations@example.com",
+ "strict_min_version": "115.0"
+ }
+ },
+ "icons": {
+ "48": "icons/icon-48.png",
+ "96": "icons/icon-96.png"
+ },
+ "permissions": ["storage"],
+ "host_permissions": [
+ "http://localhost/*",
+ "http://127.0.0.1/*"
+ ],
+ "background": {
+ "scripts": ["src/background/index.js"],
+ "type": "module"
+ },
+ "content_scripts": [
+ {
+ "matches": ["http://*/*", "https://*/*"],
+ "js": ["src/content/content.js"],
+ "css": ["src/content/content.css"],
+ "run_at": "document_idle"
+ }
+ ],
+ "action": {
+ "default_title": "Ollama Translations",
+ "default_popup": "src/popup/popup.html",
+ "default_icon": {
+ "48": "icons/icon-48.png"
+ }
+ },
+ "options_ui": {
+ "page": "src/options/options.html",
+ "open_in_tab": true
+ }
+} \ No newline at end of file