Detect if AiBrow is installed
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.
Take a look at Helping users install AiBrow for tips on a seamless install
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