Twitter (X) sort by likes Firefox

Examine source code of Twitter (X) sort by likes

Inspect and view changes in Twitter (X) sort by likes source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 2,
  "name": "Twitter (X) sort by likes",
  "version": "1.2",
  "description": "A simple extension that automatically selects the \"Sort replies by: Likes\" filter under tweets when you scroll down to the replies.\n Please note: The replies will only filter once the filter button is rendered on screen, this requires scrolling down to the replies and the replies will refresh once the filter is applied.",
  "permissions": [
    "scripting"
  ],
  "icons": {
    "48": "icons/likes-48.png"
  },
  "content_scripts": [
    {
      "matches": [
        "*://*.x.com/*"
      ],
      "js": [
        "sortbylikes.js"
      ],
      "run_at": "document_idle"
    }
  ],
  "browser_specific_settings": {
    "gecko": {
      "id": "{aed40f39-ee14-4b65-96d9-5e983a2bee2c}"
    }
  }
}

Best Twitter (X) sort by likes Alternatives

Here are some Firefox add-ons that are similar to Twitter (X) sort by likes: