Featured image of post How to allow pasting password in Firefox (when blocked)

How to allow pasting password in Firefox (when blocked)

Some websites disable password pasting which is extremely annoying when using a password manager like Keepass. The developer (or more likely the client) probably believes it is a security measure althought it is mostly a pain for the user.

Hopefully there is a quick way to work around this in Firefox. Type about.config in the address bar, then set dom.event.clipboardevents.enabled to False.

In case this setting disappears in a future version of Firefox, it is always possible to deactivate the event through Javascript by targeting specifically the password field. Open the developer console (SHIFT+CTRL+I) and type : document.getElementById("password2").onpaste = null; (in this example, password2 is the id of the password field)

Licensed under CC BY-NC-SA 4.0
Dernière mise à jour le Sep 03, 2022 15:11 +0200
Généré avec Hugo
Thème Stack conçu par Jimmy