Helping users install the AiBrow extension
Once you've created a site that uses AiBrow, then you can automatically detect if the extension and on-device helper are installed using the Detect if AiBrow is installed example.
If you find that AiBrow isn't installed, we have some handy links that can help with installing the extension. The AiBrow install page accepts a redirect argument, that once the extension is installed, will redirect back to your page.
To use this, direct the user to the following url https://aibrow.ai/install?redirect_to=your_url
The flow that users will be taken through is...
Install from the Chrome Web Store / Firefox Addon Store to install the extension
Once extension installation is complete, they'll be asked to download the on-device helper
After the on-device helper is installed, they'll either be taken to your provided
redirect_to
url or to the AiBrow examples page
AiBrow has two components, the browser extension and the helper binary. Users will need both installed to use a model. After the browser extension is installed, users are prompted to continue the installation and download the helper binary, but you should still be prepared to handle cases where this has not been completed. AiBrow provides some helper utilities to check the current installation state and direct users to download the helper binary when needed.
Detection & installation from a webpage
You can detect if AiBrow is installed and help the user install the extension from your website
Detection & installation from an extension
Your extension should pre-bundle the AiBrow library, but it still needs the AiBrow extension and native helper installed. You can help users install from your extension.
Detect if AiBrow is polyfilling window.ai
If window.ai
is not available in the current browser, AiBrow will automatically polyfill the API. You can detect if this has happened
Last updated