[PB-6379]:feat/add Firefox MV2 support#17
Open
jaaaaavier wants to merge 6 commits into
Open
Conversation
xabg2
approved these changes
May 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.