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:
commit
ef4dddcef3
|
@ -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) { }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue