GhostText

GhostText

Write in the browser with your text editor.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 2,
  "name": "GhostText",
  "description": "Write in the browser with your text editor.",
  "version": "23.5.16",
  "minimum_chrome_version": "86",
  "author": "Federico Brigante",
  "icons": {
    "16": "icons/icon16.png",
    "32": "icons/icon32.png",
    "48": "icons/icon48.png",
    "64": "icons/icon64.png",
    "128": "icons/icon128.png",
    "256": "icons/icon256.png"
  },
  "permissions": [
    "activeTab",
    "contextMenus",
    "http://localhost/",
    "storage"
  ],
  "optional_permissions": [
    "*://*/*"
  ],
  "applications": {
    "gecko": {
      "id": "[email protected]",
      "strict_min_version": "83.0"
    }
  },
  "options_ui": {
    "browser_style": true,
    "page": "options.html"
  },
  "browser_action": {
    "default_title": "GhostText",
    "default_icon": {
      "16": "icons/icon16.png",
      "32": "icons/icon32.png",
      "48": "icons/icon48.png",
      "64": "icons/icon64.png",
      "128": "icons/icon128.png",
      "256": "icons/icon256.png"
    }
  },
  "commands": {
    "open": {
      "description": "Connect to GhostText",
      "suggested_key": {
        "default": "Ctrl+Shift+K",
        "linux": "Ctrl+Shift+H"
      }
    },
    "close": {
      "description": "Disconnect from GhostText"
    }
  },
  "content_scripts": [
    {
      "matches": [
        "http://localhost:4001/*"
      ],
      "js": [
        "ghost-text.js",
        "options.js"
      ],
      "css": [
        "ghost-text.css"
      ]
    }
  ],
  "background": {
    "scripts": [
      "background.js"
    ]
  },
  "web_accessible_resources": [
    "background.js",
    "ghost-text.css",
    "ghost-text.js",
    "humane-ghosttext.css",
    "humane-ghosttext.js",
    "icons/icon128.png",
    "icons/icon16.png",
    "icons/icon256.png",
    "icons/icon32.png",
    "icons/icon48.png",
    "icons/icon64.png",
    "options-storage.js",
    "options.html",
    "options.js"
  ]
}