From d303e617458555fad52598679f72246408dcea24 Mon Sep 17 00:00:00 2001 From: Tecsi Aron Date: Wed, 2 Jun 2021 12:54:07 +0300 Subject: [PATCH] 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. --- src/content/autofill.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/autofill.js b/src/content/autofill.js index 956708fe3e..ad8ca78f27 100644 --- a/src/content/autofill.js +++ b/src/content/autofill.js @@ -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) { }