DeepL Translate: Reading & writing translator

Translate while you read and write with DeepL Translate, the world’s most accurate translator.
Premium users can view and search full source code, and see the source code differences between two versions.
Upgrade to premium
manifest.json
{
  "action": {
    "default_icon": {
      "16": "images/deepl_16.png",
      "32": "images/deepl_32.png",
      "48": "images/deepl_48.png",
      "128": "images/deepl_128.png"
    },
    "default_popup": "index.html"
  },
  "background": {
    "service_worker": "background.js"
  },
  "commands": {
    "change-language": {
      "description": "__MSG_extension_settings_keyboard_shortcut_change_language__",
      "name": "change-language",
      "suggested_key": {
        "default": "Ctrl+Shift+L",
        "mac": "Command+Shift+L"
      }
    },
    "trigger-translation": {
      "description": "__MSG_extension_settings_keyboard_shortcut_perform_translation__",
      "name": "trigger-translation",
      "suggested_key": {
        "default": "Ctrl+Shift+Y",
        "mac": "Command+Shift+Y"
      }
    }
  },
  "content_scripts": [
    {
      "all_frames": false,
      "css": [
        "build/content.css",
        "build/index.css"
      ],
      "js": [
        "build/content.js"
      ],
      "matches": [
        "<all_urls>"
      ],
      "run_at": "document_idle"
    }
  ],
  "declarative_net_request": {
    "rule_resources": [
      {
        "enabled": true,
        "id": "ruleset_1",
        "path": "rules.json"
      }
    ]
  },
  "default_locale": "en",
  "description": "__MSG_appDesc__",
  "host_permissions": [
    "*://*.deepl.com/*",
    "https://api-test.deepl.com/v1/*",
    "https://api.deepl.com/v1/*",
    "<all_urls>"
  ],
  "icons": {
    "16": "images/deepl_16.png",
    "32": "images/deepl_32.png",
    "48": "images/deepl_48.png",
    "128": "images/deepl_128.png"
  },
  "manifest_version": 3,
  "name": "__MSG_appName__",
  "options_ui": {
    "open_in_tab": true,
    "page": "settings.html"
  },
  "permissions": [
    "activeTab",
    "storage",
    "contextMenus",
    "tabs",
    "scripting",
    "declarativeNetRequest",
    "identity",
    "tts",
    "alarms"
  ],
  "version": "1.12.2",
  "web_accessible_resources": [
    {
      "matches": [
        "<all_urls>"
      ],
      "resources": [
        "images/*.svg",
        "images/**/*.svg"
      ]
    },
    {
      "matches": [
        "<all_urls>"
      ],
      "resources": [
        "build/content.css"
      ]
    },
    {
      "matches": [
        "<all_urls>"
      ],
      "resources": [
        "fonts/OpenSans_VariableFont_wdth_wght.ttf"
      ]
    },
    {
      "matches": [
        "chrome-extension://ocpdpnakdghopjcifldjidbdmfobmmoi/*"
      ],
      "resources": [
        "build/dev-page.css"
      ]
    },
    {
      "matches": [
        "<all_urls>"
      ],
      "resources": [
        "images/*.jpg",
        "images/*.png"
      ]
    }
  ],
  "update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}