> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## Opt remote scripts out of SRI

customization, docs.yml, security

Fern adds a Subresource Integrity (SRI) `integrity` attribute to remote `js` scripts by default. You can now disable SRI on a specific remote script without turning it off globally. Disable it for scripts that update in place, such as auto-updating or CDN-rolled scripts, which SRI would otherwise block.

**`docs.yml`**

```yaml title="docs.yml"
js:
  - url: https://cdn.example.com/a.js
    disable-sri: true # rendered without an integrity attribute
  - url: https://cdn.example.com/b.js # still gets SRI (default)
```

Read the docs

## Opt-in PII masking for Ask Fern

ai, security, docs.yml

Ask Fern can now mask personally identifiable information in a user's question. When enabled, structured PII (emails, phone numbers, SSNs, and credit card numbers) is redacted in the browser and never sent to Fern.

**`docs.yml`**

```yaml docs.yml
ai-search:
  mask-pii: true
```

Read the docs