Merge pull request #1875 from DukeW/master

Minor change to the autofill content script to allow for manual exclusions by web developers.
This commit is contained in:
Chad Scharf 2021-06-02 16:51:20 -04:00 committed by GitHub
commit ef4dddcef3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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-bwignore]), select');
els = Array.prototype.slice.call(elsList); els = Array.prototype.slice.call(elsList);
} catch (e) { } } catch (e) { }