Hacker News (HN) Discussion Firefox

Examine source code of Hacker News (HN) Discussion

By: Bjorn
Inspect and view changes in Hacker News (HN) Discussion source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "Hacker News Discussion Sidebar",
  "version": "0.0.1",
  "description": "Shows the latest HN submission for the current URL.",
  "permissions": [
    "activeTab",
    "scripting",
    "storage"
  ],
  "host_permissions": [
    "https://hn.algolia.com/*"
  ],
  "background": {
    "scripts": [
      "background.js"
    ]
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "hn-sidebar-extension@yourdomain.com",
      "strict_min_version": "109.0",
      "data_collection_permissions": {
        "required": [
          "browsingActivity"
        ]
      }
    }
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "css": [
        "styles.css"
      ],
      "js": [
        "content.js"
      ],
      "run_at": "document_idle"
    }
  ],
  "action": {
    "default_title": "Toggle HN Sidebar"
  },
  "options_ui": {
    "page": "options.html",
    "open_in_tab": false
  }
}

Best Hacker News (HN) Discussion Alternatives

Here are some Firefox add-ons that are similar to Hacker News (HN) Discussion: