> For the complete documentation index, see [llms.txt](https://doc.ozforensics.com/oz-knowledge/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.ozforensics.com/oz-knowledge/guides/developer-guide/sdk/oz-liveness-websdk/web-plugin.md).

# Web Plugin (Web SDK Frontend part)

Web Plugin is a plugin called by your web application. It works in a browser context. The Web Plugin communicates with Web Adapter, which, in turn, communicates with Oz API.

Please find a sample for Oz Liveness Web SDK [here](https://gitlab.com/oz-forensics/oz-liveness-sample-web/-/blob/master/OzLivenessWebSDKSample.html). To make it work, replace `<web-adapter-url>` with the Web Adapter URL you've received from us.

For the samples below, replace `https://<link>.ozforensics.com` in index.html.

* [Angular](https://gitlab.com/oz-forensics/oz-liveness-sample-web-angular) sample
* [React](https://gitlab.com/oz-forensics/oz-liveness-sample-web-react/-/tree/main) sample
* [Vue](https://gitlab.com/oz-forensics/oz-liveness-sample-web-vue) sample
* [Svelte](https://gitlab.com/oz-forensics/oz-liveness-sample-web-svelte) sample

<figure><img src="https://2532558063-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5g6dgsxRbyrCvB0uAf8f%2Fuploads%2F1PxH5zx2mkP6Tl56fVNT%2Fcomponents-public-webplugin.svg?alt=media&amp;token=207324ec-2ffc-4cde-8fed-32eb383e3b86" alt=""><figcaption></figcaption></figure>

{% content-ref url="/pages/dy8uCSp15SzPnHBsZGRC" %}
[Adding the Plugin to Your Web Page](/oz-knowledge/guides/developer-guide/sdk/oz-liveness-websdk/web-plugin/adding-the-plugin-to-your-web-page.md)
{% endcontent-ref %}

{% content-ref url="/pages/CfAPbErO0rAtCr8L4RSM" %}
[Launching the Plugin](/oz-knowledge/guides/developer-guide/sdk/oz-liveness-websdk/web-plugin/launching-the-plugin.md)
{% endcontent-ref %}

{% content-ref url="/pages/G5VzZS7W5ucSOknTZw3q" %}
[Closing or Hiding the Plugin](/oz-knowledge/guides/developer-guide/sdk/oz-liveness-websdk/web-plugin/closing-or-hiding-the-plugin.md)
{% endcontent-ref %}

{% content-ref url="/pages/I4Kk597P7hcnlBsJM44F" %}
[Localization: Adding a Custom Language Pack](/oz-knowledge/guides/developer-guide/sdk/oz-liveness-websdk/web-plugin/localization-adding-a-custom-language-pack.md)
{% endcontent-ref %}

{% content-ref url="/pages/lYbojdvgbD1yVnOtAjN9" %}
[Look-and-Feel Customization](/oz-knowledge/guides/developer-guide/sdk/oz-liveness-websdk/web-plugin/look-and-feel-customization.md)
{% endcontent-ref %}

{% content-ref url="/pages/YWhtCHy0SWkFyGGsPCjw" %}
[Security Recommendations](/oz-knowledge/guides/developer-guide/sdk/oz-liveness-websdk/web-plugin/security-recommendations.md)
{% endcontent-ref %}

{% content-ref url="/pages/1ZMd8HW0dAyIcJarkPcz" %}
[Browser Compatibility](/oz-knowledge/guides/developer-guide/sdk/oz-liveness-websdk/web-plugin/browser-compatibility.md)
{% endcontent-ref %}

{% content-ref url="/pages/jVY8NqFM2XeTntTZg2m0" %}
[No-Server Licensing](/oz-knowledge/guides/developer-guide/sdk/oz-liveness-websdk/web-plugin/no-server-licensing.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.ozforensics.com/oz-knowledge/guides/developer-guide/sdk/oz-liveness-websdk/web-plugin.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
