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.
Parameters
Section titled “Parameters”storage?
Section titled “storage?”Storage
Returns
Section titled “Returns”boolean