mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Automatic detection of divs with forms that are non-hidden by user interaction
This commit is contained in:
parent
ca6883cb08
commit
4d11ce7b5f
2 changed files with 13 additions and 2 deletions
|
|
@ -4,7 +4,7 @@
|
|||
- Merged changes from the latest passifox (credits to smorks)
|
||||
- HTTP auth works with all browsers
|
||||
- Fixed showing credentials from previous logins in the popup (credits to smorks)
|
||||
- TODO: Automatic detectal of div's with forms that are non-hidden by user interaction
|
||||
- Automatic detection of div's with forms that are non-hidden by user interaction
|
||||
|
||||
0.2.9 (2017-08-27)
|
||||
=========================
|
||||
|
|
|
|||
|
|
@ -1696,4 +1696,15 @@ cipEvents.triggerActivatedTab = function() {
|
|||
args: [ cip.url, cip.submitUrl ]
|
||||
}).then(cip.retrieveCredentialsCallback);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Detect div's that include forms and are visible
|
||||
$(function() {
|
||||
const divDetect = setInterval(function() {
|
||||
const fields = cipFields.getAllFields();
|
||||
if (fields.length > 0) {
|
||||
cip.initCredentialFields(true);
|
||||
clearInterval(divDetect);
|
||||
}
|
||||
}, 1000);
|
||||
});
|
||||
Loading…
Reference in a new issue