From d7a8762f349901598f17880d093ee23c694a6ff8 Mon Sep 17 00:00:00 2001 From: varjolintu Date: Mon, 18 Sep 2017 09:25:20 +0300 Subject: [PATCH] Last changes for version 0.30 --- CHANGELOG | 10 +++++----- keepassxc-browser/keepassxc-browser.js | 10 ++-------- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 2ee000a..7ed60a0 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,9 +1,9 @@ -0.3.0 (2017-??-??) +0.3.0 (2017-09-18) ========================= -- Added Mozilla's browser-polyfill -- Merged changes from the latest passifox (credits to smorks/passifox) -- HTTP auth works with all browsers -- Fixed showing credentials from previous logins in the popup (credits to smorks/passifox) +- Added Mozilla's browser-polyfill for making WebExtension compatibility easier +- Merged changes from the latest passifox (credits to smorks/keepasshttp-connector) +- HTTP auth works with all browsers (credits to smorks/keepasshttp-connector) +- Fixed showing credentials from previous logins in the popup (credits to smorks/keepasshttp-connector) - Automatic detection of div's with forms that are non-hidden by user interaction - Verified the source code via JSHint diff --git a/keepassxc-browser/keepassxc-browser.js b/keepassxc-browser/keepassxc-browser.js index f700ce7..5d57b75 100644 --- a/keepassxc-browser/keepassxc-browser.js +++ b/keepassxc-browser/keepassxc-browser.js @@ -1092,18 +1092,11 @@ cipFields.useDefinedCredentialFields = function() { var cip = {}; - -// settings of keepassxc-browser cip.settings = {}; -// username field which will be set on focus cip.u = null; -// password field which will be set on focus cip.p = null; -// document.location cip.url = null; -// request-url of the form in which the field is located cip.submitUrl = null; -// received credentials from KeePassXC cip.credentials = []; jQuery(function() { @@ -1121,8 +1114,9 @@ cip.init = function() { }; cip.detectNewActiveFields = function() { - //const hiddenFields = cipFields.getHiddenFieldCount(); + const hiddenFields = cipFields.getHiddenFieldCount(); + // If hidden fields aren't detected, setInterval is being looped in each frame of the page //if (hiddenFields > 0) { const divDetect = setInterval(function() { const fields = cipFields.getAllFields();