# Disable Screenshot

{% hint style="info" %}
You'll need to import the javascript file in your website before starting from this [link](https://docs.webtonative.com/javascript-apis/getting-started).
{% endhint %}

{% tabs %}
{% tab title="Plain Javascript" %}

```
window.WTN.disableScreenshot({
    ssKey:true/false
})
```

{% endtab %}

{% tab title="ES5+" %}

```
import { disableScreenshot } from "webtonative"

disableScreenshot({
    ssKey:true/false
})
```

{% endtab %}
{% endtabs %}

ssKey (Optional - Boolean parameter) - This is to override the settings set during the AddOn customisation. If screenshot was not disabled and you want to block it for a page then pass this value as  true and vice-versa.

Feature added in iOS on 13/06/25\
Feature added in Android on 19/12/25
