Threat UA Switcher Firefox

Examine source code of Threat UA Switcher

By: drego85 Add-on
Inspect and view changes in Threat UA Switcher source codes across current and past versions
xHeader
Modify request and response headers. No ads, no malware.
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "Threat UA Switcher",
  "version": "0.4.6",
  "description": "Per-tab or global User-Agent switcher for defensive security research and threat intelligence.",
  "author": "Andrea Draghetti",
  "developer": {
    "name": "Andrea Draghetti",
    "url": "https://github.com/drego85/Threat-UA-Switcher"
  },
  "homepage_url": "https://github.com/drego85/Threat-UA-Switcher",
  "icons": {
    "16": "icons/icon-16.png",
    "32": "icons/icon-32.png",
    "48": "icons/icon-48.png",
    "96": "icons/icon-96.png",
    "128": "icons/icon-128.png"
  },
  "permissions": [
    "storage",
    "tabs",
    "webRequest",
    "webRequestBlocking"
  ],
  "host_permissions": [
    "<all_urls>"
  ],
  "background": {
    "scripts": [
      "lib/presets.js",
      "lib/header-utils.js",
      "background.js"
    ]
  },
  "action": {
    "default_title": "Threat UA Switcher",
    "default_icon": {
      "16": "icons/icon-toolbar-16.png",
      "32": "icons/icon-toolbar-32.png"
    },
    "default_popup": "popup/popup.html"
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "content/main-world.js"
      ],
      "run_at": "document_start",
      "all_frames": true,
      "match_about_blank": true,
      "world": "MAIN"
    },
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "content/profile-bridge.js"
      ],
      "run_at": "document_start",
      "all_frames": true,
      "match_about_blank": true,
      "world": "ISOLATED"
    }
  ],
  "browser_specific_settings": {
    "gecko": {
      "id": "threat-ua-switcher@draghetti.it",
      "data_collection_permissions": {
        "required": [
          "none"
        ]
      },
      "strict_min_version": "142.0"
    }
  }
}

Best Threat UA Switcher Alternatives

Here are some Firefox add-ons that are similar to Threat UA Switcher: