47 Browser AutoFill
Dimitri Witkowski edited this page 2021-10-12 18:31:01 +02:00
This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Browser auto-fill is more convenient with extensions. Compared to auto-type, they provide deeper and more convenient integration.

KeeWeb Connect is developed here: https://github.com/keeweb/keeweb-connect

The extension can be installed from the official stores, depending on your browser:

The main components of the extension are:

Extension button, provides one-click auto-fill and submit:

KeeWeb Connect button

Extension menu, gives an option to choose the desired action:

KeeWeb Connect menu

Extension settings page:

KeeWeb Connect Settings

How it works

In one picture:

KeeWeb Connect communication

To be able to use the extension, enable the integration in KeeWeb settings:

KeeWeb Settings

Other browsers

To use KeeWeb Connect in other browsers, first, you need the extension itself. Depending on your browser type, you can install it either from the Google Chrome Web Store, or from the Mozilla Firefox extension gallery. It's not possible to install from stores? You can also download the extension from GitHub releases.

Next thing you need to do is configuring connection with KeeWeb.

KeeWeb Connect exchanges data with KeeWeb using a secure communication technology called Native Messaging. While KeeWeb can automatically set up native messaging for popular browsers, it requires a bit of manual effort for others.

  1. Create a file called net.antelle.keeweb.keeweb_connect.json (where? check in the manifest setup guides below:

For Chromium-based browsers (such as Vivaldi, Opera, Brave, ...):

{
    "allowed_origins": [
        "chrome-extension://pikpfmjfkekaeinceagbebpfkmkdlcjk/"
    ],
    "description": "KeeWeb native messaging host",
    "name": "net.antelle.keeweb.keeweb_connect",
    "type": "stdio",
    "path": "/path/to/keeweb/keeweb-native-messaging-host"
}

For browsers based on Firefox (you may also hear words "Mozilla" or "Gecko" about them):

{
    "allowed_extensions": [
        "keeweb-connect@keeweb.info"
    ],
    "description": "KeeWeb native messaging host",
    "name": "net.antelle.keeweb.keeweb_connect",
    "type": "stdio",
    "path": "/path/to/keeweb/keeweb-native-messaging-host"
}

Note the path property. Make sure the file exists there and is executable. On Windows add .exe and don't forget about double slashes, for example, it can be something like:

    "path": "C:\\Program Files\\KeeWeb\\keeweb-native-messaging-host.exe"

On macOS it will be inside the app bundle, for example:

    "path": "/Applications/KeeWeb.app/Contents/MacOS/util/keeweb-native-messaging-host"

On Linux the installation path depends on the distribution you used, for example it can be:

    "path": "/usr/share/keeweb-desktop/keeweb-native-messaging-host"
  1. For Windows: add a registry key as described in the guide below

  2. Some browsers may need a restart

  3. Still doesn't work? Open the extensions page and inspect the "background page" of the extension, the Console tab there can give a clue

Native messaging manifest setup guides

KeePassXC-Browser

KeeWeb supports KeePassXC-Browser, however, there may be integration issues. The installation is intentionally made hard and you're encouraged to use our own extension instead.

If you still decide to use KeePassXC-Browser with KeeWeb, please note: all issues you will face must be reported to the KeeWeb bugtracker, not to KeePassXC.

Installation:

  1. Install the browser extension itself
  2. Connect it to KeePassXC, this will create a native manifest
  3. Find that manifest as it's described above and replace the proxy path with keeweb-native-messaging-host with its corresponding path