> 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/oz-knowledge/pt-br/guias/developer-guide/sdk/oz-liveness-websdk/web-plugin.md).

# Web Plugin (parte frontend do Web SDK)

Web Plugin é um plugin chamado pela sua aplicação web. Ele funciona em um contexto de navegador. O Web Plugin se comunica com Web Adapter, que, por sua vez, se comunica com Oz API.

Encontre um exemplo para Oz Liveness Web SDK [aqui](https://gitlab.com/oz-forensics/oz-liveness-sample-web/-/blob/master/OzLivenessWebSDKSample.html). Para fazer funcionar, substitua `<web-adapter-url>` pelo URL do Web Adapter que você recebeu de nós.

Para os exemplos abaixo, substitua `https://<link>.ozforensics.com` em 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="/files/4751a5da0d3e04df38fc218c85b3c25626c70142" alt=""><figcaption></figcaption></figure>

{% content-ref url="/pages/1c59ac4b54926f587b63900bb6b146d695c8cf44" %}
[Adicionando o plugin à sua página web](/oz-knowledge/oz-knowledge/pt-br/guias/developer-guide/sdk/oz-liveness-websdk/web-plugin/adding-the-plugin-to-your-web-page.md)
{% endcontent-ref %}

{% content-ref url="/pages/f1f3999ccbf7002b7504a9ce477c8558f197ea1d" %}
[Iniciando o plugin](/oz-knowledge/oz-knowledge/pt-br/guias/developer-guide/sdk/oz-liveness-websdk/web-plugin/launching-the-plugin.md)
{% endcontent-ref %}

{% content-ref url="/pages/51ff72560f092230164398e239c655ea6f1adc66" %}
[Fechando ou ocultando o plugin](/oz-knowledge/oz-knowledge/pt-br/guias/developer-guide/sdk/oz-liveness-websdk/web-plugin/closing-or-hiding-the-plugin.md)
{% endcontent-ref %}

{% content-ref url="/pages/2e4712eee38b24ffba357ba7e8a67aa77a739a3b" %}
[Localização: adicionando um pacote de idioma personalizado](/oz-knowledge/oz-knowledge/pt-br/guias/developer-guide/sdk/oz-liveness-websdk/web-plugin/localization-adding-a-custom-language-pack.md)
{% endcontent-ref %}

{% content-ref url="/pages/bf5ceb39c2a27d5902bac333b06deb8a2eeb2459" %}
[Personalização da aparência e usabilidade](/oz-knowledge/oz-knowledge/pt-br/guias/developer-guide/sdk/oz-liveness-websdk/web-plugin/look-and-feel-customization.md)
{% endcontent-ref %}

{% content-ref url="/pages/109a8b7f0d3d9ce1be0dd33c04aa75746cba36a4" %}
[Recomendações de segurança](/oz-knowledge/oz-knowledge/pt-br/guias/developer-guide/sdk/oz-liveness-websdk/web-plugin/security-recommendations.md)
{% endcontent-ref %}

{% content-ref url="/pages/584354d5185aee674fc8192d91d7a618052dfbeb" %}
[Compatibilidade com navegadores](/oz-knowledge/oz-knowledge/pt-br/guias/developer-guide/sdk/oz-liveness-websdk/web-plugin/browser-compatibility.md)
{% endcontent-ref %}

{% content-ref url="/pages/cfa6b99099d054933718f53cc6b5e96cb704f92d" %}
[Licenciamento sem servidor](/oz-knowledge/oz-knowledge/pt-br/guias/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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
