browserpass/browserpass-extension

Autofill password after inspection

haji-ali opened this issue · 5 comments

I am on version 3.7.2 and it seems that there is no way to auto-fill a password after clicking on the small > to inspect the entry. There also doesn't seem to be a way to return to the previous search window. So I am left having to search for the entry again.

Is this right, or am I missing something?

There also doesn't seem to be a way to copy multiple fields since clicking on the copy button closes the popup. Manually copying multiple entries is doable but then the pop-up window closes as soon as I click on the page to paste the copied text.

Are these issues fixable in theory? Or is there some design issue that makes them unavoidable?

erayd commented

The entry-detail screen is in the middle of getting an overhaul in PR #290. The inability to return to the previous screen is a known limitation of the current popup interface, and that PR resolves it.

There is not currently any binding for autofill from the details screen (the normal way to autofill is to click the entry in the search results, or use the keyboard shortcuts), but there is no reason why we could not add one for you. This will need to be after #290 is merged though, so it won't be immediate.

...the pop-up window closes as soon as I click on the page to paste the copied text.

This is unfortunately a deliberate limitation on the part of the browser vendors, and there is nothing we can do to resolve it. Chrome and Firefox both forcibly close extension popups as soon as they lose focus, unless the developer tools are open to inspect the popup.

Thanks! Looking forward to that PR.

This is unfortunately a deliberate limitation on the part of the browser vendors, and there is nothing we can do to resolve it. Chrome and Firefox both forcibly close extension popups as soon as they lose focus, unless the developer tools are open to inspect the popup.

Is it not possible to have a the current window remembered, at least for the same tab or for some limited time?
So that even if it disappears, calling the interface again will allow further copying of fields from the details screen.

erayd commented

Is it not possible to have a the current window remembered, at least for the same tab or for some limited time?

Not easily. The popup is handled by the browser as an entirely independent window (even though it doesn't look like one), and when it's closed the browser completely destroys both the DOM and the javascript contexts attached to it.

Are you able to explain in a bit more detail why you need it to do this, and what you are wanting to achieve? The workflow you describe isn't a typical one, but if we can better understand what you need, we might be able to address it in some way.

I have security fields that I save in a key along with a username/password and which I want to fill web-fields with.

What I would like to do is open the entry in the extension and copy fields to the page as I need them. These fields might be credit card numbers, security answers or even username/password in case the fields are not correctly auto-filled.