From d303e617458555fad52598679f72246408dcea24 Mon Sep 17 00:00:00 2001 From: Tecsi Aron Date: Wed, 2 Jun 2021 12:54:07 +0300 Subject: [PATCH 1/3] 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) { } From 1081f505d636402b350c3d6705cb5a5a1771b38d Mon Sep 17 00:00:00 2001 From: Tecsi Aron Date: Wed, 2 Jun 2021 21:09:30 +0300 Subject: [PATCH 2/3] Update autofill.js Removed data-lpignore. --- 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 ad8ca78f27..aeba8cd385 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"]):not([data-lpignore="false"]):not(data-bwignore="true"), select'); + ':not([type="button"]):not([type="image"]):not([type="file"]):not(data-bwignore="true"), select'); els = Array.prototype.slice.call(elsList); } catch (e) { } From cf59d24c51cc19dce0f04f052488e6cbcae1dc1a Mon Sep 17 00:00:00 2001 From: Tecsi Aron Date: Wed, 2 Jun 2021 22:28:07 +0300 Subject: [PATCH 3/3] Update autofill.js Removed `="true"` --- 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 aeba8cd385..dd813ff628 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"]):not(data-bwignore="true"), select'); + ':not([type="button"]):not([type="image"]):not([type="file"]):not([data-bwignore]), select'); els = Array.prototype.slice.call(elsList); } catch (e) { }