Skip to content

viewerPrefersStandard

viewerPrefersStandard(storage?): boolean

Defined in: trust.ts:82

Read the viewer’s preference.

Any failure — no storage, disabled storage, SSR, a privacy mode that throws on access — means “no stated preference”, which is the marked default. A storage error must never be a route to an unmarked creative.

Storage

boolean