GhostText

GhostText

Use your text editor to write in your browser. Everything you type in the editor will be instantly updated in the browser (and vice versa).

Merlin
Additional files are visible only to premium users

manifest.json


{
  "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"
  ]
}