Skip to content

[PB-6379]:feat/add Firefox MV2 support#17

Open
jaaaaavier wants to merge 6 commits into
mainfrom
feature/implement-firefox-support
Open

[PB-6379]:feat/add Firefox MV2 support#17
jaaaaavier wants to merge 6 commits into
mainfrom
feature/implement-firefox-support

Conversation

@jaaaaavier
Copy link
Copy Markdown
Contributor

@jaaaaavier jaaaaavier commented Apr 14, 2026

Prepare the extension for Firefox by migrating all chrome.* API calls to browser.* across all entrypoints. Add as const type casts required by the stricter polyfill types. Fix Firefox popup blank screen caused by h-screen resolving to 1px in Firefox's popup viewport. Add CI/CD workflow to build and validate both Chrome MV3 and Firefox MV2 targets on every push and PR.


In Firefox, changing the VPN location while connected does not take effect due to proxy settings being cached at the browser process level. The only way to clear this cache is a full Firefox restart.

Solution:

When a Firefox user tries to change location while the VPN is ON, a modal appears explaining they need to restart Firefox to apply the change.
The location change is blocked while connected. The user can still disconnect using the toggle, but reconnecting is blocked until Firefox is restarted.
If the user tries to toggle the VPN back ON after a location change, the modal appears again as a reminder.
No modal is shown if the user disconnects and reconnects to the same location they were already on.

@jaaaaavier jaaaaavier self-assigned this Apr 14, 2026
@jaaaaavier jaaaaavier added the enhancement New feature or request label Apr 14, 2026
@jaaaaavier jaaaaavier changed the title [PB-6130]:feat/add Firefox MV2 support [PB-6379]:feat/add Firefox MV2 support May 11, 2026
@jaaaaavier jaaaaavier marked this pull request as ready for review May 12, 2026 14:55
@jaaaaavier jaaaaavier requested a review from xabg2 as a code owner May 12, 2026 14:55
@jaaaaavier jaaaaavier requested a review from xabg2 May 21, 2026 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants