diff --git a/apps/browser/src/content/autofill.js b/apps/browser/src/content/autofill.js index ee4dfab1b0d..f56a1f843e2 100644 --- a/apps/browser/src/content/autofill.js +++ b/apps/browser/src/content/autofill.js @@ -42,6 +42,7 @@ 9. Add new handler, for new command that responds with page details in response callback 10. Handle sandbox iframe and sandbox rule in CSP 11. Work on array of saved urls instead of just one to determine if we should autofill non-https sites + 12. Remove setting of attribute com.browser.browser.userEdited on user-inputs */ function collect(document, undefined) { @@ -50,11 +51,6 @@ // END MODIFICATION document.elementsByOPID = {}; - document.addEventListener('input', function (inputevent) { - inputevent.a !== false && - inputevent.target.tagName.toLowerCase() === 'input' && - (inputevent.target.dataset['com.bitwarden.browser.userEdited'] = 'yes'); - }, true); function getPageDetails(theDoc, oneShotId) { // start helpers @@ -279,8 +275,6 @@ addProp(field, 'title', getElementAttrValue(el, 'title')); // START MODIFICATION - addProp(field, 'userEdited', !!el.dataset['com.browser.browser.userEdited']); - var elTagName = el.tagName.toLowerCase(); addProp(field, 'tagName', elTagName);