Popup View for Google™ Translate

Popup View for Google™ Translate

Access to a floating multilingual Google™ Translate popup on any webpage

Merlin
Additional files are visible only to premium users

manifest.json


{
  "manifest_version": 2,
  "version": "0.6.2",
  "name": "Popup View for Google™ Translate",
  "description": "Access to a floating multilingual Google™ Translate popup on any webpage",
  "homepage_url": "https://webextension.org/listing/dictionary.html",
  "permissions": [
    "activeTab",
    "storage",
    "contextMenus",
    "*://*/*"
  ],
  "icons": {
    "16": "data/icons/16.png",
    "32": "data/icons/32.png",
    "48": "data/icons/48.png",
    "64": "data/icons/64.png",
    "128": "data/icons/128.png",
    "256": "data/icons/256.png",
    "512": "data/icons/512.png"
  },
  "background": {
    "scripts": [
      "/v2/chrome.action.js",
      "/v2/chrome.contextMenus.create.js",
      "/v2/chrome.runtime.js",
      "/v2/chrome.scripting.js",
      "/v2/chrome.windows.create.js",
      "/v2/chrome.windows.get.js",
      "/v2/chrome.windows.getCurrent.js",
      "worker.js"
    ]
  },
  "content_scripts": [
    {
      "matches": [
        "*://*/*"
      ],
      "exclude_matches": [
        "*://translate.google.com/*",
        "*://translate.google.com.hk/*",
        "*://translate.google.com.tr/*",
        "*://translate.google.com.tw/*",
        "*://translate.google.com.ua/*",
        "*://translate.google.com.as/*",
        "*://translate.google.com.vn/*",
        "*://translate.google.co.in/*",
        "*://translate.google.co.jp/*",
        "*://translate.google.co.kr/*",
        "*://translate.google.co.uk/*",
        "*://translate.google.cn/*",
        "*://translate.google.de/*",
        "*://translate.google.fr/*",
        "*://translate.google.it/*",
        "*://translate.google.pl/*",
        "*://translate.google.ru/*"
      ],
      "js": [
        "data/inject/selector.js"
      ],
      "css": [
        "data/inject/selector.css"
      ],
      "run_at": "document_start",
      "all_frames": true,
      "match_about_blank": true
    },
    {
      "matches": [
        "*://translate.google.com/*",
        "*://translate.google.com.hk/*",
        "*://translate.google.com.tr/*",
        "*://translate.google.com.tw/*",
        "*://translate.google.com.ua/*",
        "*://translate.google.com.as/*",
        "*://translate.google.com.vn/*",
        "*://translate.google.co.in/*",
        "*://translate.google.co.jp/*",
        "*://translate.google.co.kr/*",
        "*://translate.google.co.uk/*",
        "*://translate.google.cn/*",
        "*://translate.google.de/*",
        "*://translate.google.fr/*",
        "*://translate.google.it/*",
        "*://translate.google.pl/*",
        "*://translate.google.ru/*"
      ],
      "js": [
        "data/inject/extend.js"
      ],
      "run_at": "document_start"
    }
  ],
  "options_ui": {
    "page": "data/options/index.html"
  },
  "web_accessible_resources": [
    "data/inject/selector.png"
  ],
  "commands": {
    "_execute_browser_action": {}
  },
  "browser_action": {},
  "browser_specific_settings": {
    "gecko": {
      "id": "jid0-fbHwsGfb6kJyq2hj65KnbGte3yT@jetpack"
    }
  }
}