Skip to content
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

[Firefox] Plugin Disappears when Browser Loses Focus #43

Open
stellarpower opened this issue May 27, 2024 · 5 comments
Open

[Firefox] Plugin Disappears when Browser Loses Focus #43

stellarpower opened this issue May 27, 2024 · 5 comments

Comments

@stellarpower
Copy link

Hi,

I was trying to add an authentication method - I click on the plugin in Firefox, the pencil icon, and then go to add a new account. I'm on desktop, so I need to enter the key textually, not from a QR code. I've only just installed the plugin, so the settings are all left at defaults.

The site for which I was trying to add the method has given me both of these, so I can click the icon to copy, and paste into the model dialogue in authenticator.cc. Except when I go back to copy, the plugin dialogue disappears, so I can't enter more than one field at once.

Even if I copy to a text editor (so a different application), as soon as I move my mouse away form the Firefox window, the modal dialogue closes, so I have to go round again. Coupled with the fact that the page that generated the keys also timed out it made the process quite frustrating (and 2FA is frustrating enough as it is!)

I don't know how feasible a solution/workaround there is, but personally I'd prefer to do things like adding accounts in a settings page for the plugin; I also know some plugins are able to bring up their own window like a separate browser page, and I think this might be a useful option. Or if there is an applicable setting available, it might be worth looking at having it on by default.

Thanks!

@Sneezry
Copy link
Member

Sneezry commented May 27, 2024

image

Is this what you are looking for? It locates at settings - preferences page.

Also, when you double click the title bar (shown as below) in popup dialogue, it should open in a separate window:

image

@stellarpower
Copy link
Author

I think so - except now, I have no buttons like the settings cog or the edit pencil to add a new authentication mechanism.
image

@mymindstorm
Copy link
Member

You should be able to copy the secret, open the add account dialog, and paste. None of the text fields outside of the account secret matter outside of giving you something to remember which code belongs to what account, so you could leave them blank and change them later.

Nonetheless, if you open a new tab and go to moz-extension://2bc3fa18-2c7a-4747-8760-cef35de58832/view/popup.html, you should be able to use the full extension in its own tab.

@mymindstorm
Copy link
Member

mymindstorm commented Jun 2, 2024

Also, being on the desktop does not stop you from using a QR code, which would be a lot easier. Just click the scan icon on the extension's toolbar, and you can scan a QR code on the tab you currently have open.

image

@stellarpower
Copy link
Author

So the QR code is for pasting in an image? The extension asked for extra permissions, and I assumed it was for e.g. a laptop with a webcam.

In order to add it I needed an account and a secret. Because the popup closes, I couldn't copy from the page (or even my text editor) and paste in - as as soon as it lost focus the popup closed. Even if I had the account in the clipboard, I paste that, go back to copy the secret and it closes in the same manner. I had to copy the two together and then backspace over one portion for both fields. If there's the capability for a popup then (thanks for the link, did not know I could do that in general with any extension), to me that makes more sense for when adding a new account as the default way to present.

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

No branches or pull requests

3 participants