Twitter Flags Firefox

Examine source code of Twitter Flags

Inspect and view changes in Twitter Flags source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "Twitter Flags",
  "version": "1.0.2",
  "description": "Shows the flag of Twitter users next to their username based on their location",
  "permissions": [
    "storage"
  ],
  "browser_specific_settings": {
    "gecko": {
      "id": "twitter-flags@jameshahn.me",
      "data_collection_permissions": {
        "required": [
          "none"
        ],
        "collect_data": false,
        "collect_personal_data": false,
        "collect_usage_data": false
      }
    }
  },
  "web_accessible_resources": [
    {
      "resources": [
        "flags/*.png",
        "pageScript.js"
      ],
      "matches": [
        "https://x.com/*",
        "https://twitter.com/*"
      ]
    }
  ],
  "content_scripts": [
    {
      "matches": [
        "https://x.com/*",
        "https://twitter.com/*"
      ],
      "js": [
        "content.js"
      ],
      "css": [
        "styles.css"
      ],
      "run_at": "document_idle"
    }
  ],
  "icons": {
    "16": "icon16.png",
    "48": "icon48.png",
    "128": "icon128.png"
  }
}

Best Twitter Flags Alternatives

Here are some Firefox add-ons that are similar to Twitter Flags: