Custom UserAgent String Firefox

Examine source code of Custom UserAgent String

By: Linder
Inspect and view changes in Custom UserAgent String source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "version": "0.2.5",
  "manifest_version": 3,
  "name": "Custom UserAgent String",
  "homepage_url": "https://mybrowseraddon.com/custom-useragent-string.html",
  "description": "Add a custom useragent string for desired URLs or domains.",
  "commands": {
    "_execute_action": {}
  },
  "permissions": [
    "storage",
    "declarativeNetRequest"
  ],
  "options_ui": {
    "open_in_tab": true,
    "page": "data/options/options.html"
  },
  "host_permissions": [
    "*://*/*",
    "ws://*/*",
    "wss://*/*"
  ],
  "browser_specific_settings": {
    "gecko": {
      "strict_min_version": "109.0",
      "id": "{861a3982-bb3b-49c6-bc17-4f50de104da1}"
    }
  },
  "background": {
    "scripts": [
      "lib/config.js",
      "lib/chrome.js",
      "lib/runtime.js",
      "lib/netrequest.js",
      "lib/common.js"
    ]
  },
  "action": {
    "default_popup": "data/popup/popup.html",
    "default_title": "Custom UserAgent String",
    "default_icon": {
      "16": "data/icons/16.png",
      "32": "data/icons/32.png",
      "48": "data/icons/48.png",
      "64": "data/icons/64.png"
    }
  },
  "content_scripts": [
    {
      "all_frames": true,
      "matches": [
        "*://*/*"
      ],
      "run_at": "document_start",
      "js": [
        "data/content_script/inject.js"
      ]
    },
    {
      "world": "MAIN",
      "all_frames": true,
      "matches": [
        "*://*/*"
      ],
      "run_at": "document_start",
      "js": [
        "data/content_script/page_context/inject.js"
      ]
    }
  ],
  "icons": {
    "16": "data/icons/16.png",
    "32": "data/icons/32.png",
    "48": "data/icons/48.png",
    "64": "data/icons/64.png",
    "128": "data/icons/128.png"
  }
}

Best Custom UserAgent String Alternatives

Here are some Firefox add-ons that are similar to Custom UserAgent String: