GhostText Firefox

Examine source code of GhostText

Inspect and view changes in GhostText source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "GhostText",
  "description": "Write in the browser with your text editor.",
  "version": "26.5.12",
  "minimum_chrome_version": "120",
  "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"
  },
  "content_security_policy": {
    "extension_pages": "connect-src 'self' http://localhost:* ws:; script-src 'self';"
  },
  "permissions": [
    "activeTab",
    "contextMenus",
    "scripting",
    "storage"
  ],
  "host_permissions": [
    "http://localhost/"
  ],
  "optional_permissions": [
    "*://*/*"
  ],
  "optional_host_permissions": [
    "*://*/*"
  ],
  "browser_specific_settings": {
    "gecko": {
      "id": "ghosttext@bfred.it",
      "strict_min_version": "128.0"
    }
  },
  "options_ui": {
    "page": "options.html"
  },
  "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": {
    "service_worker": "background.a9c9b6de.js",
    "scripts": [
      "background.js"
    ]
  },
  "web_accessible_resources": [
    {
      "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",
        "advanced-editors-messenger.js",
        "options-storage.js",
        "options.html",
        "options.js"
      ],
      "matches": [
        "*://*/*"
      ]
    }
  ]
}

Best GhostText Alternatives

Here are some Firefox add-ons that are similar to GhostText: