It would be nice if that got added to PwdHash[1] extension[2]. PwdHash chrome extension currently seems to just try to capture all keyboard events while the master password is entered in a site's password box. Also, it seems to me that it runs in the site's context.
[1] https://www.pwdhash.com/ [2] https://code.google.com/p/chrome-pwdhash/