Last active
May 7, 2025 18:45
-
-
Save gabrielfin/eacb1d2964bbb46069818fe425cd916f to your computer and use it in GitHub Desktop.
Workaround for Bitwarden auofilling password inputs with autocomplete='new-password'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Bitwarden autocomplete workaround | |
| // @namespace Violentmonkey Scripts | |
| // @match *://*/* | |
| // @grant none | |
| // @version 1.0 | |
| // @author - | |
| // @run-at document-end | |
| // @description 07/05/2025, 15:09:39 | |
| // ==/UserScript== | |
| document.querySelectorAll("[autocomplete]").forEach(input => { | |
| input.setAttribute('x-autocompletetype', input.getAttribute('autocomplete')); | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment