Quick Dictionary

Quick Dictionary

This extension helps you quickly translate any selected text in the web to any languages with Wiktionary.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "manifest_version": 2,
  "name": "__MSG_ext_name__",
  "description": "__MSG_ext_desc__",
  "version": "2.0.4",
  "icons": {
    "128": "/img/icon.png"
  },
  "default_locale": "en",
  "web_accessible_resources": [
    "/img/icon.png",
    "/quickpopup.html"
  ],
  "options_ui": {
    "page": "config.html",
    "chrome_style": false
  },
  "content_scripts": [
    {
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "js": [
        "content.js"
      ],
      "css": [
        "content.css",
        "wiki-style.css"
      ]
    }
  ],
  "browser_action": {
    "default_title": "__MSG_ext_name__",
    "default_icon": "/img/icon.png"
  },
  "sidebar_action": {
    "default_title": "__MSG_ext_name__",
    "default_panel": "main.html",
    "default_icon": "/img/icon.png"
  },
  "permissions": [
    "tabs",
    "activeTab",
    "https://*.wiktionary.org/",
    "https://*.wikimedia.org/",
    "https://translation.googleapis.com/",
    "https://upload.wikimedia.org/",
    "storage",
    "menus"
  ],
  "background": {
    "scripts": [
      "background.js"
    ]
  },
  "commands": {
    "show_meaning": {
      "suggested_key": {
        "default": "Ctrl+E",
        "windows": "Ctrl+E",
        "mac": "Command+E",
        "linux": "Ctrl+E"
      },
      "description": "Command for showing text meaning."
    }
  }
}