CastReader — Free AI Text to Speech Reader Firefox

Examine source code of CastReader — Free AI Text to Speech Reader

By: Vin Xu
Inspect and view changes in CastReader — Free AI Text to Speech Reader source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "__MSG_extName__",
  "description": "__MSG_extDescription__",
  "version": "1.0.2",
  "icons": {
    "16": "/icon-16.png",
    "32": "/icon-32.png",
    "48": "/icon-48.png",
    "128": "/icon-128.png"
  },
  "default_locale": "en",
  "permissions": [
    "activeTab",
    "storage",
    "scripting"
  ],
  "host_permissions": [
    "*://api.castreader.ai/*",
    "*://castreader.ai/*",
    "*://weread.qq.com/*",
    "*://read.amazon.com/*",
    "*://read.amazon.cn/*",
    "http://localhost:18789/*",
    "http://localhost:18790/*"
  ],
  "browser_specific_settings": {
    "gecko": {
      "id": "castreader@castreader.ai",
      "data_collection_permissions": {
        "required": [
          "none"
        ],
        "optional": []
      }
    }
  },
  "content_security_policy": {
    "extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self'"
  },
  "web_accessible_resources": [
    {
      "matches": [
        "*://read.amazon.com/*",
        "*://read.amazon.cn/*"
      ],
      "resources": [
        "tesseract/*"
      ]
    },
    {
      "matches": [
        "*://weread.qq.com/*"
      ],
      "resources": [
        "content-scripts/weread-intercept.js"
      ]
    },
    {
      "matches": [
        "*://read.amazon.com/*",
        "*://read.amazon.cn/*"
      ],
      "resources": [
        "content-scripts/kindle-intercept.js"
      ]
    }
  ],
  "background": {
    "scripts": [
      "background.js"
    ]
  },
  "action": {
    "default_title": "CastReader",
    "default_popup": "popup.html"
  },
  "content_scripts": [
    {
      "matches": [
        "*://read.amazon.cn/*",
        "*://read.amazon.com/*"
      ],
      "run_at": "document_start",
      "js": [
        "content-scripts/kindle-hook.js"
      ]
    },
    {
      "matches": [
        "*://read.amazon.cn/*",
        "*://read.amazon.com/*"
      ],
      "run_at": "document_start",
      "js": [
        "content-scripts/kindle-intercept.js"
      ],
      "world": "MAIN"
    },
    {
      "matches": [
        "*://weread.qq.com/*"
      ],
      "run_at": "document_start",
      "js": [
        "content-scripts/weread-hook.js"
      ]
    },
    {
      "matches": [
        "*://weread.qq.com/*"
      ],
      "run_at": "document_start",
      "js": [
        "content-scripts/weread-intercept.js"
      ],
      "world": "MAIN"
    }
  ]
}

Best CastReader — Free AI Text to Speech Reader Alternatives

Here are some Firefox add-ons that are similar to CastReader — Free AI Text to Speech Reader: