Web Translate Firefox

Examine source code of Web Translate

Inspect and view changes in Web Translate source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 2,
  "version": "6.4",
  "author": "Juraj Mäsiar",
  "default_locale": "en",
  "name": "__MSG_app_name__",
  "description": "__MSG_app_desc__",
  "icons": {
    "48": "48.png",
    "128": "128.png"
  },
  "background": {
    "scripts": [
      "background_wt.worker.js"
    ],
    "persistent": true
  },
  "browser_action": {
    "default_icon": {
      "128": "128.png"
    },
    "default_popup": "popup/popup.html",
    "default_area": "navbar"
  },
  "options_ui": {
    "page": "editor/editor.html",
    "open_in_tab": true
  },
  "commands": {
    "_execute_browser_action": {
      "suggested_key": {
        "default": "Alt+Shift+Q"
      },
      "description": "Open pop-up window."
    },
    "translate_page": {
      "suggested_key": {
        "default": "Alt+Shift+W"
      },
      "description": "Translate current page."
    },
    "translate_selection": {
      "suggested_key": {
        "default": "Alt+Z"
      },
      "description": "Translate selected text."
    }
  },
  "content_scripts": [
    {
      "matches": [
        "https://translate.google.com/*",
        "https://translate.google.cn/*"
      ],
      "all_frames": true,
      "run_at": "document_start",
      "js": [
        "content_scripts/empty_page_detection.js"
      ]
    },
    {
      "matches": [
        "https://translate.google.com/*",
        "https://translate.google.cn/*"
      ],
      "all_frames": true,
      "run_at": "document_end",
      "js": [
        "content_scripts/block/google_block.js"
      ]
    },
    {
      "matches": [
        "https://bing.com/*",
        "https://www.bing.com/*"
      ],
      "all_frames": true,
      "run_at": "document_end",
      "js": [
        "content_scripts/block/bing_block.js"
      ]
    },
    {
      "matches": [
        "https://deepl.com/*",
        "https://www.deepl.com/*"
      ],
      "all_frames": true,
      "run_at": "document_end",
      "js": [
        "content_scripts/block/deepl_block.js"
      ]
    },
    {
      "matches": [
        "https://translate.yandex.ru/*",
        "https://translate.yandex.com/*",
        "https://www.translate.yandex.ru/*",
        "https://www.translate.yandex.com/*"
      ],
      "all_frames": true,
      "run_at": "document_end",
      "js": [
        "content_scripts/block/yandex_block.js"
      ]
    },
    {
      "matches": [
        "https://fanyi.baidu.com/*"
      ],
      "all_frames": true,
      "run_at": "document_end",
      "js": [
        "content_scripts/block/baidu_block.js"
      ]
    }
  ],
  "web_accessible_resources": [
    "editor/editor.css",
    "editor/editor.html",
    "editor/editor.js",
    "utils/svg/resize-corner.svg",
    "128.png"
  ],
  "permissions": [
    "contextMenus",
    "storage",
    "activeTab",
    "scripting",
    "declarativeNetRequestWithHostAccess",
    "<all_urls>"
  ],
  "browser_specific_settings": {
    "gecko": {
      "id": "admin@fastaddons.com_WebTranslate",
      "data_collection_permissions": {
        "required": [
          "none"
        ]
      },
      "strict_min_version": "140.0"
    }
  }
}

Best Web Translate Alternatives

Here are some Firefox add-ons that are similar to Web Translate: