TransorAI - AI Translator | Web, PDF, Images Firefox

Examine source code of TransorAI - AI Translator | Web, PDF, Images

Inspect and view changes in TransorAI - AI Translator | Web, PDF, Images source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "name": "__MSG_extName__",
  "version": "1.0.3",
  "description": "__MSG_extDescription__",
  "manifest_version": 2,
  "default_locale": "en",
  "permissions": [
    "storage",
    "tabs",
    "downloads",
    "nativeMessaging",
    "nativeMessagingFromContent",
    "geckoViewAddons",
    "activeTab",
    "contextMenus",
    "webRequest",
    "webRequestBlocking",
    "webNavigation",
    "<all_urls>"
  ],
  "background": {
    "scripts": [
      "browser-polyfill.min.js",
      "browser-adapter.js",
      "libs/axios.min.js",
      "background.js"
    ],
    "persistent": false
  },
  "browser_action": {
    "default_popup": "popup.html",
    "default_icon": {
      "16": "logos/logo16.png",
      "48": "logos/logo48.png",
      "128": "logos/logo128.png"
    }
  },
  "icons": {
    "16": "logos/logo16.png",
    "48": "logos/logo48.png",
    "128": "logos/logo128.png"
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "languages-config.js",
        "config.js",
        "browser-polyfill.min.js",
        "browser-adapter.js",
        "storage-manager.js",
        "highlight-favorites.js",
        "content-script.js",
        "image-translator.js"
      ],
      "css": [
        "content-style.css"
      ],
      "run_at": "document_end"
    },
    {
      "matches": [
        "*://*.youtube.com/*",
        "*://*.youtube-nocookie.com/*",
        "*://youtu.be/*"
      ],
      "js": [
        "browser-polyfill.min.js",
        "browser-adapter.js",
        "youtube-cinema.js"
      ],
      "run_at": "document_end",
      "all_frames": true
    },
    {
      "matches": [
        "*://*.netflix.com/*"
      ],
      "js": [
        "browser-polyfill.min.js",
        "browser-adapter.js",
        "netflix-cinema.js"
      ],
      "run_at": "document_end"
    },
    {
      "matches": [
        "https://x.com/*",
        "https://*.x.com/*",
        "https://twitter.com/*",
        "https://*.twitter.com/*"
      ],
      "js": [
        "browser-polyfill.min.js",
        "browser-adapter.js",
        "twitter-cinema.js"
      ],
      "run_at": "document_end"
    },
    {
      "matches": [
        "*://*.bilibili.com/*",
        "*://*.bilibili.tv/*"
      ],
      "js": [
        "browser-polyfill.min.js",
        "browser-adapter.js",
        "bilibili-cinema.js"
      ],
      "run_at": "document_end"
    },
    {
      "matches": [
        "http://localhost:8080/*",
        "https://localhost:8080/*",
        "https://www.transor.ai/*",
        "https://*.transor.ai/*"
      ],
      "js": [
        "browser-polyfill.min.js",
        "browser-adapter.js",
        "login-bridge.js"
      ],
      "run_at": "document_end"
    }
  ],
  "web_accessible_resources": [
    "popup.html",
    "popup.css",
    "youtube-cinema.js",
    "youtube-cinema.css",
    "youtube-cinema.html",
    "iconfont.js",
    "fonts/*",
    "logos/logo16.png",
    "logos/logo48.png",
    "logos/logo128.png",
    "netflix-cinema.js",
    "twitter-cinema.js",
    "bilibili-cinema.js",
    "inject.js",
    "screenshot.html",
    "screenshot.js",
    "favorites.html",
    "favorites.js",
    "libs/axios.min.js",
    "transor-bridge-injection.js",
    "logos/*",
    "logos/logo.png",
    "config/ai-experts/*.json",
    "config/ai-experts/index.json",
    "side-panel.html",
    "side-panel.js",
    "side-panel.css"
  ],
  "commands": {
    "a_toggle_translation": {
      "suggested_key": {
        "default": "Alt+A",
        "mac": "Alt+A"
      },
      "description": "__MSG_cmd_toggle_translation__"
    },
    "b_switch_display_type": {
      "description": "__MSG_cmd_switch_display_type__"
    },
    "c_switch_font_color": {
      "description": "__MSG_cmd_switch_font_color__"
    },
    "open_side_panel": {
      "suggested_key": {
        "default": "Alt+S",
        "mac": "Alt+S"
      },
      "description": "__MSG_cmd_open_side_panel__"
    }
  },
  "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'; connect-src 'self' https://* http://* ws://* wss://*",
  "browser_specific_settings": {
    "gecko": {
      "id": "transor.ai@transor.ai",
      "strict_min_version": "120.0"
    }
  },
  "options_ui": {
    "page": "options.html",
    "open_in_tab": true
  }
}

Best TransorAI - AI Translator | Web, PDF, Images Alternatives

Here are some Firefox add-ons that are similar to TransorAI - AI Translator | Web, PDF, Images: