mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Merge pull request #931 from keepassxreboot/fix/165_fixes
Parse input fields correctly before passing them forward
This commit is contained in:
commit
1cb67e7ec0
3 changed files with 4 additions and 3 deletions
1
build.js
1
build.js
|
|
@ -25,6 +25,7 @@ function adjustManifest(manifest) {
|
|||
for (const elem in data['browser_action']['default_icon']) {
|
||||
data['browser_action']['default_icon'][elem] = 'icons/keepassxc.svg';
|
||||
}
|
||||
delete data['version_name'];
|
||||
} else if (manifest.includes('chromium')) {
|
||||
delete data['applications'];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -962,7 +962,7 @@ kpxc.initObserver = function() {
|
|||
// Check if some class is changed that holds a form or input field(s). Ignore large forms.
|
||||
const formInput = mut.target.querySelector('form input');
|
||||
if (mut.attributeName === 'class' && formInput !== null && formInput.form.length < 20) {
|
||||
kpxc.handleCredentialFields(Array.from(formInput.form.getElementsByTagName('input')));
|
||||
kpxc.handleCredentialFields(kpxcObserverHelper.getInputs(formInput.form));
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"manifest_version": 2,
|
||||
"name": "KeePassXC-Browser",
|
||||
"version": "1.6.4",
|
||||
"version_name": "1.6.4",
|
||||
"version": "1.6.5",
|
||||
"version_name": "1.6.5",
|
||||
"description": "__MSG_extensionDescription__",
|
||||
"author": "KeePassXC Team",
|
||||
"icons": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue