Skip to content

Add Firefox Support using WebExtension Polyfill#65

Open
NamanS4ini wants to merge 2 commits into
raphaelheinz:mainfrom
NamanS4ini:firefox-support
Open

Add Firefox Support using WebExtension Polyfill#65
NamanS4ini wants to merge 2 commits into
raphaelheinz:mainfrom
NamanS4ini:firefox-support

Conversation

@NamanS4ini

@NamanS4ini NamanS4ini commented Jul 13, 2025

Copy link
Copy Markdown

Add Firefox Support using WebExtension Polyfill

Hi! I’ve added support for running LeetHub on Firefox-based browsers like Firefox and Zen, so the extension now works cross-browser using a single codebase.


What I Changed

  • Added browser_specific_settings to manifest.json for Firefox compatibility
  • Included webextension-polyfill to support browser.* API
  • Replaced or wrapped chrome.* APIs to make them work on both Chrome and Firefox
  • Tested and confirmed the extension works on both firefox based and chromium based browsers

A Note from Me

I’m not an extension developer, this is my first time working with browser extensions.
I used GitHub Copilot and ChatGPT to guide me through the process.

I’ve tested the extension thoroughly and everything seems to work well. That said, if you decide not to merge this, I completely understand.
Just wanted to try contributing something useful to a project I use myself. 🙂
Also submitted this version to the Firefox Add-ons Store - pending approval!

Thanks for keeping such a helpful tool alive! 🙏

-- @namans4ini

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant