Yoroi Firefox

Examine source code of Yoroi

By: EMURGO
Inspect and view changes in Yoroi source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "version": "5.17.0",
  "name": "Yoroi",
  "manifest_version": 3,
  "description": "A simple, secure and fast Cardano ADA wallet.",
  "action": {
    "default_title": "Yoroi",
    "default_icon": {
      "16": "img/icon-16.png",
      "48": "img/icon-48.png",
      "128": "img/icon-128.png"
    }
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "{530f7c6c-6077-4703-8f71-cb368c663e35}"
    }
  },
  "icons": {
    "16": "img/icon-16.png",
    "48": "img/icon-48.png",
    "128": "img/icon-128.png"
  },
  "background": {
    "scripts": [
      "js/background-service-worker.js"
    ]
  },
  "permissions": [
    "storage",
    "tabs",
    "alarms",
    "system.display"
  ],
  "host_permissions": [
    "*://connect.trezor.io/*"
  ],
  "content_scripts": [
    {
      "matches": [
        "*://connect.trezor.io/*/popup.html*"
      ],
      "js": [
        "js/trezor-content-script.js"
      ]
    },
    {
      "matches": [
        "file://*/*",
        "http://*/*",
        "https://*/*"
      ],
      "js": [
        "js/bringInject.js"
      ],
      "run_at": "document_start",
      "all_frames": true
    },
    {
      "matches": [
        "file://*/*",
        "http://*/*",
        "https://*/*"
      ],
      "js": [
        "js/inject.js"
      ],
      "run_at": "document_start",
      "all_frames": true
    }
  ],
  "content_security_policy": {
    "extension_pages": "default-src 'self' ; frame-src https://adapools.yoroiwallet.com https://widget.changelly.com/ https://connect.trezor.io/ https://emurgo.github.io/ https://www.youtube.com/ https://*.bringweb3.io/; script-src 'self' 'wasm-unsafe-eval'; object-src 'self' ; connect-src https://*.yoroiwallet.com https://*.emurgornd.com https://firebaseinstallations.googleapis.com/v1/projects/yoroi-extension-14826/ https://fcmregistrations.googleapis.com/v1/projects/yoroi-extension-14826/ https://analytics.emurgo-rnd.com/ https://api2.amplitude.com https://api.muesliswap.com https://api.handle.me/ https://api.unstoppabledomains.com/ https://a.cexplorer.io/ https://aggregator.muesliswap.com/ https://onchain2.muesliswap.com/ https://aggregator-v2.muesliswap.com/ https://agg-api.minswap.org https://daehx1qv45z7c.cloudfront.net/ https://api-us.dexhunterv3.app/ https://mainnet.processed-media.yoroiwallet.com/ https://*.yoroiwallet.com https://api-us.dexhunterv3.app/swap/ https://*.bringweb3.io https://raw.githubusercontent.com https://mainnet.prod.gd.midnighttge.io https://proof.provtree-midnight.com https://proof-staging.provtree-midnight.com https://external-claim.gd.midnighttge.io https://firebaseinstallations.googleapis.com; style-src * 'unsafe-inline' 'self'  blob:; img-src 'self' https://static.adapools.org/ https://ipfs.io/ipfs/ https://img.cexplorer.io/ https://corsproxy.io/ https: data: ;"
  },
  "protocol_handlers": [
    {
      "protocol": "web+cardano",
      "name": "Yoroi",
      "uriTemplate": "main_window.html#/send-from-uri?q=%s"
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "js/cardanoApiInject.js",
        "js/initialInject.js"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ]
}

Best Yoroi Alternatives

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