Browser: Extension does not load in Firefox Private Mode

Created on 4 Nov 2019  路  25Comments  路  Source: bitwarden/browser

https://github.com/bitwarden/browser/issues/136 needs to be re-opened. If Lastpass, 1Password, etc. can work in Private Mode, for Bitwarden to blame Mozilla is disingenuous and lazy.

duplicate

Most helpful comment

Bitwarden relies on background page communication from the popup to function. In Firefox private mode, getBackgroundPage always returns empty. This is documented here: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/extension/getBackgroundPage and https://bugzilla.mozilla.org/show_bug.cgi?id=1329304

So Bitwarden is content to be subpar? 1Password and Lastpass make it work. At least be honest and admit that this is a won鈥檛 fix and stop implying it鈥檚 a can鈥檛 fix/we blame Mozilla.

All 25 comments

IMG_20191105_173743
Works fine for me. Firefox 70.0 (64-bit) on Ubuntu.

Check add-on settings and enable for private windows
Screenshot 2019-11-26 at 13 04 26

I think this issue can be closed

Works fine for me. Firefox 70.0 (64-bit) on Ubuntu.

Did you change anything in settings? I'm using Firefox 70.0.1 on windows 10 and all i get in incognito is a pop-up saying that the window is not available in incognito on this navigator

Hmm. looks like you right and it is not work ;(( I thought This permission allows extension to work in Private mode

Did you change anything in settings? I'm using Firefox 70.0.1 on windows 10 and all i get in incognito is a pop-up saying that the window is not available in incognito on this navigator

Other than always on Private Mode, i haven't changed anything. Maybe it's a due to different OSs (I'm on Ubuntu).

Bitwarden relies on background page communication from the popup to function. In Firefox private mode, getBackgroundPage always returns empty. This is documented here: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/extension/getBackgroundPage and https://bugzilla.mozilla.org/show_bug.cgi?id=1329304

Bitwarden relies on background page communication from the popup to function. In Firefox private mode, getBackgroundPage always returns empty. This is documented here: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/extension/getBackgroundPage and https://bugzilla.mozilla.org/show_bug.cgi?id=1329304

So Bitwarden is content to be subpar? 1Password and Lastpass make it work. At least be honest and admit that this is a won鈥檛 fix and stop implying it鈥檚 a can鈥檛 fix/we blame Mozilla.

@liberty1tech _if you want this feature so badly_, then work on it yourself. That's like, one of the most important aspects of Open Source software.

Also, what system are you running on? I just tested Bitwarden 1.41.0 on Firefox 71.0 (64-bit) on a Windows 10 Version 1909 and everything works just _fine_.

This is how I have my privacy settings regarding History on Firefox: ( _about:preferences#privacy_ )
Custom privacy settings

And also, when installing Bitwarden, I ticked this checkbox this:
Run in private windows

If you're not sure whether you did or not, go to _about:addons_ -> Extensions -> Bitwarden
and then scroll down to the "Run in Private Windows" section and click "allow" (as depicted in Djsmentya's comment )

My workstation is running Linux with the latest stable version of Firefox (73.0 now, from official repo) and Bitwarden extension, with privacy.firstparty.isolate false. It did not work for me. And yes, I did allow it to run in private windows.

I also tried to read some code from other password managers like LastPass and 1Password. I have little experience in writing WebExtensions browser plugins, but I think a number of plugins did eventually have to undergo refactoring to remove the use of chrome.extensions.getBackgroundPage because of that. The resolution of the Bugzilla 1329304 case eventually also resulted in Privacy Badger getting some parts of it by replacing chrome.extensions.getBackgroundPage with chrome.runtime.sendMessage.

Bitwarden relies on background page communication from the popup to function. In Firefox private mode, getBackgroundPage always returns empty. This is documented here: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/extension/getBackgroundPage and https://bugzilla.mozilla.org/show_bug.cgi?id=1329304

So Bitwarden is content to be subpar? 1Password and Lastpass make it work. At least be honest and admit that this is a _won鈥檛 fix_ and stop implying it鈥檚 a _can鈥檛 fix/we blame Mozilla_.

>

Other than how bluntly you've put this I don't know why anyone would disagree. From everything I've read it seems the Bitwarden developers have shifted the blame off to Mozilla and have neglected the functionality of Bitwarden in Firefox private mode.

Yes Firefox has made a decision that effects Bitwarden; however to just turn around and say there is nothing you can do is a lie. You developed the app for that platform. It's literally your job to develop your apps to work on the platforms they're supported.

The Bitwarden developers have just taken the easy route at the sacrifice of its Firefox users. It's easier for them to shift the blame to Mozilla and inconvenience Firefox users than it is to hunker down and rewrite parts of the app. It's really a shame considering Firefox is the most popular privacy focused browser backed by a non-profit company. It's also the largest non-Chromium based browser.

As it stands Bitwarden only truly supports two browsers, Chromium based browsers and Safari. Firefox is what I would call partially supported at the most.

I'm unable to use Bitwarden at my workplace because we're forced to use Firefox. I would use Firefox at home because I do like the Firefox browser and feel better using it as it's backed by a non-profit company made for privacy however I'm just unwilling to put up with the tedious process of having to open a non-private window just to login to Bitwarden so I can use the context menu auto-fill in the private window I was originally in. I spend most my time browsing the web in a private window and I'm sure I'm not the only one.

I've also had a look at the Bitwarden community and it seems literally hundreds of people have voted to have this issue fixed [1] [2].

@ContentPersonality2 - you are free to work on it yourself if you feel it's a simple fix. That's the beauty of open source.

@ContentPersonality2 - you are free to work on it yourself if you feel it's a simple fix. That's the beauty of open source.

If I could I would however this is besides the point. I never said it was a simple fix, my point was that Bitwarden should be striving to fully support the platforms they add the app to.

I'm not a free user, I pay for Bitwarden, I know this doesn't give me a chair at the decision table however it gives me the opportunity to voice my opinion as a paying user. I support Bitwarden so I don't have to develop my own apps.

you are free to work on it yourself if you feel it's a simple fix. That's the beauty of open source.

That's an flawed argument to deflect from the fact that Bitwarden has paying customers (like myself) who want to see this fixed, but the lead developer/CEO refuses to even accept responsibility and disingenuously blames Mozilla, while all other leading password managers have addressed the issue.

That's an flawed argument to deflect from the fact that Bitwarden has paying customers (like myself) who want to see this fixed, but the lead developer/CEO refuses to even accept responsibility and disingenuously blames Mozilla, while all other leading password managers have addressed the issue.

That's a false argument by assuming that other paying users, like myself, want the devs to work on weird edge cases. You are talking about something that applies to a very, very small percentage of the userbase. It's not really worth arguing about - with the amount of effort you put into this thread, you could have researched the issue yourself and been a contributor to a solution.

That's an flawed argument to deflect from the fact that Bitwarden has paying customers (like myself) who want to see this fixed, but the lead developer/CEO refuses to even accept responsibility and disingenuously blames Mozilla, while all other leading password managers have addressed the issue.

That's a false argument by assuming that other paying users, like myself, want the devs to work on weird edge cases. You are talking about something that applies to a very, very small percentage of the userbase. It's not really worth arguing about - with the amount of effort you put into this thread, you could have researched the issue yourself and been a contributor to a solution.

I wouldn't call this a weird case, it's been an issue for years and effects usability dramatically, Bitwarden only partially supports Firefox in my opinion. Also I'd just like to point out again how many people voted for suggestions on the Bitwarden community forums for this issue to be fixed.


Ill pitch in on a bounty to fund a community contrib - what do you say about putting the energy into that direction?

I'm a small business owner and I recommend Bitwarden to my clients. I use it myself and offer to setup self hosting for clients that require internal hosting. One client recently asked me if I could swap to another password manager because Bitwarden wouldn't work on Firefox private windows which is what they use primarily at their business. This issue doesn't bother me as I use Google Chrome at home, however, it is something I will take into account when offering Bitwarden to my Firefox using clients.

I am not upset that the feature is not implemented. I love Bitwarden and I understand that either the lack of demand (which I believe there is demand [1][2]) or the cost to refactor can be blocking factors.

However, I am disappointed that Bitwarden developers have not acknowledged that this is an issue with their extension, not the Firefox browser. It dissuades the community from contributing because it is being defined as a non-bug despite other extensions working properly. If it is not considered a bug by the developers, would they even consider a bugfix PR?

I am disappointed that Bitwarden developers have not acknowledged that this is an issue with their extension, not the Firefox browser.

I agree in this regard. It was enough to stop my migration from 1Password and not renew my paid BitWarden plan. 1Password is getting bloated and it's 5x the cost, but BitWarden's developer turned me off completely with his repeated disingenuous attempts to say "this is an unworkable Firefox issue," when it's absolutely not.

It's really disappointing as someone who wants to make the leap to Firefox to see that my favourite password manager isn't supporting Firefox as much as they could be. I've been wanting to make the jump over to Firefox for around a year now however I've held off in the hopes that Bitwarden would fix their issue with Firefox private browsing however I can see now that this has been an issue for years. I'm either going to have to scrap my plan to switch to Firefox or switch password manager entirely (the latter being more likely, which is unfortunate because I really do love Bitwarden!).

This appears to be a duplicate of #911 with another duplicate in #1444.

This is the second most voted issue in the repo right now btw

It is absolutely ridiculous that Bitwarden is refusing to fix this. The original issue opened over three years, and _still_ no fix for this. I've been paying for Bitwarden for over 2 years now, and _still_ no fix for this. Someone has even implemented a fix in #1225, which doesn't seem to be good enough for @kspearrin, and you _still_ refuse to assign an engineer to finalise the PR, but y'know "it's Mozilla's problem". For a company that provides security tooling, I'd expect you to be in agreement with security decisions made by the platform that you run on. Every other password manager is able to do it, but still it's Mozilla's problem. The level of big headedness from whoever is coming up with such a weak excuse for not fixing such a big part of this system astonishes me.

Using getBackgroundPage() not only isn't compatible with Firefox in private mode, but will also stop working in Google Chrome when they begin enforcing Manifest V3. Manifest V3 will be available from Chrome 88 (which is currently in Beta, expected stable on Jan 19th) and from then it is only a matter of time before either a new solution is found or the feature will be broken in both Firefox and Chrome.

Re-opening #136 and closing this as a duplicate. Will add link/reference with additional info.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andrejrcarvalho picture andrejrcarvalho  路  5Comments

madranet picture madranet  路  4Comments

kspearrin picture kspearrin  路  5Comments

junweilee picture junweilee  路  6Comments

aarikere picture aarikere  路  4Comments