Easy Languages Dictionary

Easy Languages Dictionary

Adds an interactive dictionary to subtitles of videos on the Easy Languages YouTube channels.

Additional files are visible only to premium users

manifest.json


{
  "manifest_version": 3,
  "name": "Easy Languages Dictionary",
  "version": "1.0.4",
  "author": "R. N. West",
  "homepage_url": "https://github.com/rnwst/easy-languages-dict",
  "description": "Adds an interactive dictionary to subtitles of videos on the Easy Languages YouTube channels.",
  "icons": {
    "48": "icons/48.png",
    "128": "icons/128.png"
  },
  "content_scripts": [
    {
      "matches": [
        "https://www.youtube.com/*",
        "https://m.youtube.com/*"
      ],
      "js": [
        "content/index.js"
      ],
      "run_at": "document_end",
      "css": [
        "content/styles.css"
      ]
    }
  ],
  "background": {
    "type": "module",
    "service_worker": "background/index.js"
  },
  "permissions": [
    "webNavigation",
    "storage"
  ],
  "host_permissions": [
    "https://translate.googleapis.com/*",
    "https://www.bing.com/translator",
    "https://www.bing.com/ttranslatev3?*",
    "https://www2.deepl.com/jsonrpc?*"
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "content/tesseract/*",
        "content/tesseract-core/*",
        "langs.csv"
      ],
      "matches": [
        "https://www.youtube.com/*",
        "https://m.youtube.com/*"
      ]
    }
  ],
  "minimum_chrome_version": "116",
  "update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}