Universal Machine Translation

Universal Machine Translation

Instantly fill target box of Smartcat with machine translation text from Google

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "description": "Instantly fill target box of Smartcat with machine translation text from Google",
  "version": "1.0.4",
  "name": "Universal Machine Translation",
  "background": {
    "service_worker": "background.bundle.js"
  },
  "permissions": [
    "tabs",
    "storage",
    "activeTab",
    "notifications",
    "scripting"
  ],
  "host_permissions": [
    "*://translate.google.com/*",
    "*://*.smartcat.com/*"
  ],
  "action": {
    "default_popup": "popup.html",
    "default_icon": {
      "32": "48.png"
    },
    "default_title": "Universal Machine Translation"
  },
  "icons": {
    "16": "16.png",
    "48": "48.png",
    "128": "128.png"
  },
  "content_scripts": [
    {
      "matches": [
        "*://*.smartcat.com/*",
        "*://cloud.memsource.com/web/*",
        "*://translate.google.com/*"
      ],
      "js": [
        "contentScript.bundle.js"
      ],
      "css": [
        "content.styles.css"
      ]
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "popup.html",
        "content.style.css",
        "128.png"
      ],
      "matches": [
        "*://*.smartcat.com/*"
      ]
    }
  ],
  "manifest_version": 3
}