Last changes for version 0.30

This commit is contained in:
varjolintu 2017-09-18 09:25:20 +03:00
parent 6c434e372b
commit d7a8762f34
2 changed files with 7 additions and 13 deletions

View file

@ -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

View file

@ -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();