ReadLingo Firefox

Examine source code of ReadLingo

提供元: KSTR Add-on
Inspect and view changes in ReadLingo source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "ReadLingo",
  "version": "1.0.4",
  "description": "Aprenda idiomas enquanto navega. Traduza palavras, gere frases com IA, organize baralhos e revise com repeticao espacada.",
  "browser_specific_settings": {
    "gecko": {
      "id": "readlingo@readlingo.app",
      "strict_min_version": "142.0",
      "data_collection_permissions": {
        "required": [
          "websiteContent",
          "personallyIdentifyingInfo"
        ],
        "optional": []
      }
    }
  },
  "permissions": [
    "storage",
    "contextMenus",
    "scripting",
    "alarms",
    "activeTab"
  ],
  "host_permissions": [
    "https://api.readlingo.app/*"
  ],
  "optional_host_permissions": [
    "<all_urls>"
  ],
  "content_scripts": [
    {
      "matches": [
        "https://api.readlingo.app/auth/login*"
      ],
      "js": [
        "content/auth-capture.js"
      ],
      "run_at": "document_start"
    }
  ],
  "background": {
    "scripts": [
      "background.js"
    ]
  },
  "commands": {
    "translate-selection": {
      "suggested_key": {
        "default": "Alt+T"
      },
      "description": "Translate selected word"
    },
    "open-review": {
      "suggested_key": {
        "default": "Alt+R"
      },
      "description": "Open review page"
    }
  },
  "action": {
    "default_popup": "popup/popup.html",
    "default_icon": {
      "16": "icons/icon16.png",
      "48": "icons/icon48.png",
      "128": "icons/icon128.png"
    }
  },
  "options_ui": {
    "page": "review/review.html?view=settings",
    "open_in_tab": true
  },
  "web_accessible_resources": [
    {
      "resources": [
        "pdf/pdf.min.mjs",
        "pdf/pdf.worker.min.mjs"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "icons": {
    "16": "icons/icon16.png",
    "48": "icons/icon48.png",
    "128": "icons/icon128.png"
  }
}

ベストのReadLingo代替案

ReadLingoに類似したFirefox add-onをいくつか紹介します: