Location Flags for X (Twitter) Firefox

Examine source code of Location Flags for X (Twitter)

Inspect and view changes in Location Flags for X (Twitter) source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "Location Flags for X (Twitter)",
  "description": "Shows country flags next to X (Twitter) usernames based on account location.",
  "version": "2.0.1",
  "icons": {
    "16": "icons/icon16.png",
    "32": "icons/icon32.png",
    "48": "icons/icon48.png",
    "128": "icons/icon128.png"
  },
  "permissions": [
    "storage",
    "tabs"
  ],
  "host_permissions": [
    "https://twitter.com/*",
    "https://x.com/*"
  ],
  "content_scripts": [
    {
      "matches": [
        "https://twitter.com/*",
        "https://x.com/*"
      ],
      "js": [
        "logger.js",
        "countryFlags.js",
        "content.js"
      ],
      "run_at": "document_idle"
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "pageScript.js"
      ],
      "matches": [
        "https://twitter.com/*",
        "https://x.com/*"
      ]
    }
  ],
  "action": {
    "default_popup": "popup.html",
    "default_title": "Twitter Location Flag"
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "twitter-location-flag@addon",
      "strict_min_version": "109.0",
      "data_collection_permissions": {
        "required": [
          "none"
        ],
        "optional": []
      }
    }
  }
}

Best Location Flags for X (Twitter) Alternatives

Here are some Firefox add-ons that are similar to Location Flags for X (Twitter):