ReadPilot Firefox

Examine source code of ReadPilot

By: Kaiker
Inspect and view changes in ReadPilot source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "ReadSupporter",
  "version": "0.1.0",
  "description": "辅助阅读,基于 LLM 提升阅读理解",
  "browser_specific_settings": {
    "gecko": {
      "id": "readsupporter@example.com"
    }
  },
  "icons": {
    "16": "icons/icon16.png",
    "48": "icons/icon48.png",
    "128": "icons/icon128.png"
  },
  "permissions": [
    "activeTab",
    "storage",
    "scripting",
    "contextMenus"
  ],
  "host_permissions": [
    "https://openrouter.ai/*"
  ],
  "action": {
    "default_popup": "popup/popup.html",
    "default_title": "ReadSupporter"
  },
  "background": {
    "scripts": [
      "background.js"
    ]
  },
  "content_scripts": [
    {
      "matches": [
        "https://weread.qq.com/web/reader*",
        "https://www.dedao.cn/ebook*"
      ],
      "js": [
        "lib/llm_manager.js",
        "lib/prompt_manager.js",
        "content_script.js",
        "lib/floating_ui.js"
      ],
      "css": [
        "styles/floating_ui.css"
      ],
      "run_at": "document_end"
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "config/*",
        "prompts/*",
        "styles/*",
        "chat/*",
        "welcome.html"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ]
}

Best ReadPilot Alternatives

Here are some Firefox add-ons that are similar to ReadPilot: