-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bad interaction with usercss extensions in Firefox #224
Comments
We don't remove user styles, or reset styles on the page - in fact, we don't touch the original page's CSS at all! If the original content is being shown, this seems more likely to be a problem with Firefox, or with the user style extension being used, rather than a Browserpass issue.
If this only occurs when the extension is installed, this isn't something that matters. Is that what you meant though? It seems odd to log a bug for a brief style flash that occurs only during installation, which is something most users only ever do once - so to clarify, can you explain what you mean by "installed"? |
I didn't mean "during installation", I meant that the flash only occurs if the browserpass extension is installed. FWIW, I've been able to make it go away by commenting out |
OK, that makes sense - misunderstood you sorry.
That is really useful info, thank you. I will see if I can reproduce that here, and if so whether shifting that code out of the main execution path of the event handler is sufficient to deal with it. |
OK, so I was unable to reproduce this under normal conditions, but I was able to reproduce it when running a significant CPU hog at the same time ( There seems to be something a bit weird about Firefox's event handler implementation:
That last point (8) is the strangest part of it all - there should be no additional load of any note caused by this handler until after the timeout fires, and yet the mere presence of the call is enough to trigger it. @maximbaz - do you have any particular thoughts on this one? I'm confident that this is a Firefox problem, rather than some sort of bug in Browserpass. I cannot currently think of a reasonable strategy to mitigate it without removing the feature entirely. |
An option to turn off the badge icon seems like a good workaround. |
General information
emerge browserpass
Exact steps to reproduce the problem
Install any style-customization extension (e.g. stylus, github-dark etc.)
Go to the styled site. When browserpass extension is installed a brief flash of originally-styled content is shown.
This started happening in FF 79 for me. Can be reproduced in the official beta for FF 80 on a fresh profile with only stylus and browserpass installed.
The text was updated successfully, but these errors were encountered: