mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Updated AutoFill (markdown)
38
AutoFill.md
38
AutoFill.md
@@ -93,16 +93,42 @@ You can however use the [Magikeyboard](https://github.com/Kunzisoft/KeePassDX/wi
|
||||
## Password form recognition
|
||||
The form to fill in username and password is recognized if explicitly defined with [`android:autofillHints`](https://developer.android.com/reference/android/R.styleable#View_autofillHints) or if it contains [`input`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input) elements (with types : *username* and *password*). Otherwise, the dialog box is not offered. When KeePassDX is started in autofill mode (after clicking "Sign in with KeePassDX"), each entry becomes a callback function that returns username and password. If you want other behavior, please request it.
|
||||
|
||||
## Web Browser app bug
|
||||
Some web browser as Edge, Samsung Internet and Chrome browser may not offer autofill, this is a known bug that cannot be resolved from the KeePassDX app.
|
||||
|
||||
These browsers simply do not offer the ability to use autofill:
|
||||
- Try updating your browser (if it doesn't help, leave a message to the authors of the app concerned to find a solution)
|
||||
## Web Browser recognition
|
||||
Some browsers do not offer the possibility to use autofill, this is a known bug depending of the browser, that cannot be resolved from the KeePassDX app.
|
||||
In this case, try to:
|
||||
- Check if your browser is natively compatible with autofill service (look at the table below)
|
||||
- Update your browser (if it doesn't help, leave a message to the authors of the app concerned to find a solution)
|
||||
- Switch to another browser
|
||||
|
||||
The upstream bug for Chromium is https://bugs.chromium.org/p/chromium/issues/detail?id=1015381
|
||||
### Compatibility Mode
|
||||
|
||||
The autofill service in compatibility mode is normally used temporarily while waiting for browser developers to implement native recognition. In compatibility mode, forms are not optimized for autofill and are parsed automatically, so this method takes resources and there may be slowdowns depending on devices.
|
||||
This mode requires Google Play services installed and does not allow registration from forms.
|
||||
https://developer.android.com/reference/android/service/autofill/AutofillService#compatibility-mode
|
||||
|
||||
It is recommended that you use native autofill compatible web browsers to optimize form filling, for security and to use registration.
|
||||
|
||||
Here is a non-exhaustive table of the compatibility of browsers with autofill:
|
||||
|
||||
| Browser | Version | Store | Autofill | Description
|
||||
| --- | --- | --- | --- | ---
|
||||
| **Lightning** | 5.1.0 | F-Droid | Native | -
|
||||
| **FOSS Browser** | 7.2 | F-Droid | Native | -
|
||||
| **Firefox** | 81.1.1 | Play Store | Native | -
|
||||
| **DuckDuckGo** | ? | ? | ? | -
|
||||
| **Fennec** | 82.1.1 | F-Droid | Native | -
|
||||
| **Chrome** | 83.0.4103.106 | Play Store | Compatibility | Native autofill has been removed from Chrome at the expense of the Google auth connection since version 78.0.3904.96 (https://github.com/Kunzisoft/KeePassDX/issues/551#issuecomment-627224788). May not work all the time in compatibility mode
|
||||
| **Chrome beta** | 86.0.4240.68 | Play Store | Compatibility | -
|
||||
| **Edge** | - | Play Store | Compatibility | -
|
||||
| **Vivaldi** | ? | ? | ? | -
|
||||
| **Samsung Browser** | - | Play Store / Device | No / Copatibility | Will not work well on older Samsung models but newer models knowingly prevent the use of autofill
|
||||
| **Bromite** | 86.0.4240.68 | bromite.org | No | Prevents the autofill compatibility service from accessing it and does not contain native autofill
|
||||
| **Chromium** | 86.0.4240.68 | - | No | Upstream bug for Chromium is https://bugs.chromium.org/p/chromium/issues/detail?id=1015381
|
||||
|
||||
_Note that several browsers derived from Chromium code will not be compatible with autofill because the native code in this app has been removed._
|
||||
|
||||
## Autofill disabled
|
||||
The autofill may not work if the form has explicitly requested to disable autofill (with [`importantForAutofill="no"`](https://developer.android.com/reference/android/R.styleable#View_importantForAutofill) or [`autocomplete="off"`](https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion)). In this case, ask the application or website to remove these tags.
|
||||
|
||||
|
||||
*Part of the autofill code is inspired by [Android-AutofillFramework](https://github.com/googlesamples/android-AutofillFramework).*
|
||||
Reference in New Issue
Block a user