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:
Tecsi Aron 2021-06-02 12:54:07 +03:00
parent cf800d7340
commit d303e61745
1 changed files with 1 additions and 1 deletions

View File

@ -555,7 +555,7 @@
var els = [];
try {
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);
} catch (e) { }