emersion / emersion/passwordmaker

Context menu item

Open
#14 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
16
Forks
4
PR merge metrics
No merged PRs in 30d

Description

It would be cool if, when the master password is available from memory or disk, there was a context menu item you could use to directly fill a password in a web site's password field.

I've been playing around trying to do this a little but I'm new to WebExtensions and struggling. Adding a context menu item and replacing the active form field with some arbitrary text is easy. But I'm struggling to include the logic needed to do real password generation, because both _background.js_ and a content script seem unable to use _require()_ calls, at least in Firefox.

I'm therefore struggling to see how I can get the logic we need into the code this menu item executes, without copying the code of every library needed to make it work. Any ideas welcome!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.