UserAgent Switch Firefox

Examine source code of UserAgent Switch

Por: Amorichy
Inspect and view changes in UserAgent Switch source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "User Agent Switch",
  "version": "1.4",
  "description": "Switch browser User-Agent to simulate different devices and browsers in a million-level database",
  "icons": {
    "64": "icons/64.png"
  },
  "action": {
    "default_title": "User Agent Switch",
    "default_icon": {
      "64": "icons/64.png"
    }
  },
  "sidebar_action": {
    "default_panel": "side-panel.html",
    "default_icon": "icons/64.png"
  },
  "background": {
    "scripts": [
      "js/background.js"
    ]
  },
  "permissions": [
    "storage",
    "declarativeNetRequest"
  ],
  "content_scripts": [
    {
      "all_frames": true,
      "js": [
        "js/jquery-1.10.2.min.js",
        "js/content.js"
      ],
      "matches": [
        "*://*/*"
      ],
      "run_at": "document_start"
    },
    {
      "all_frames": false,
      "js": [
        "js/jquery-1.10.2.min.js",
        "js/useragent.io.js"
      ],
      "matches": [
        "https://useragents.io/*"
      ],
      "run_at": "document_idle"
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "js/rewriteUserAgent.js"
      ],
      "matches": [
        "*://*/*"
      ]
    }
  ],
  "browser_specific_settings": {
    "gecko": {
      "id": "{f54005ea-192e-440b-8376-b0cb0142506c}",
      "strict_min_version": "109.0"
    }
  },
  "host_permissions": [
    "<all_urls>"
  ]
}

Mejores alternativas UserAgent Switch

Aquí hay algunas Firefox add-ons que son similares a UserAgent Switch: