G-Translate

G-Translate support more than 100 languages. Right click and translate your selected text.
Premium users can view and search full source code, and see the source code differences between two versions.
Upgrade to premium
manifest.json
{
  "background": {
    "scripts": [
      "js/background.js"
    ]
  },
  "browser_action": {
    "default_icon": {
      "32": "icons/icon32.png",
      "64": "icons/icon64.png"
    },
    "default_popup": "popup.html",
    "default_title": "__MSG_name__"
  },
  "default_locale": "en",
  "description": "__MSG_description__",
  "icons": {
    "16": "icons/icon16.png",
    "32": "icons/icon32.png",
    "64": "icons/icon64.png",
    "128": "icons/icon128.png",
    "256": "icons/icon256.png"
  },
  "content_scripts": [
    {
      "js": [
        "js/cs.js"
      ],
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "all_frames": true,
      "run_at": "document_end"
    },
    {
      "js": [
        "js/hide.js"
      ],
      "matches": [
        "https://translate.google.com/*",
        "https://translate.google.cn/*",
        "https://www.bing.com/translator*"
      ],
      "all_frames": true,
      "run_at": "document_start"
    }
  ],
  "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self';",
  "manifest_version": 2,
  "name": "__MSG_name__",
  "options_ui": {
    "open_in_tab": true,
    "page": "popup.html",
    "chrome_style": true
  },
  "permissions": [
    "contextMenus",
    "storage",
    "webRequestBlocking",
    "webRequest",
    "http://*/*",
    "https://*/*",
    "notifications"
  ],
  "short_name": "__MSG_short_name__",
  "version": "2.0.0",
  "update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}