mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 17:23:37 +00:00
Update autofill.js
Adds the option for web developers to exclude fields with an attribute, also added the LastPass variant of this functionality for better compatibility with existing pages.
This commit is contained in:
@@ -555,7 +555,7 @@
|
|||||||
var els = [];
|
var els = [];
|
||||||
try {
|
try {
|
||||||
var elsList = theDoc.querySelectorAll('input:not([type="hidden"]):not([type="submit"]):not([type="reset"])' +
|
var elsList = theDoc.querySelectorAll('input:not([type="hidden"]):not([type="submit"]):not([type="reset"])' +
|
||||||
':not([type="button"]):not([type="image"]):not([type="file"]), select');
|
':not([type="button"]):not([type="image"]):not([type="file"]):not([data-lpignore="false"]):not(data-bwignore="true"), select');
|
||||||
els = Array.prototype.slice.call(elsList);
|
els = Array.prototype.slice.call(elsList);
|
||||||
} catch (e) { }
|
} catch (e) { }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user