跳转到主要内容

Supports-Loading-Mode header

The HTTP Supports-Loading-Mode response header allows a response to opt-in to being loaded in a novel, higher-risk context that it would otherwise fail to be loaded in.

Header type [Response header](https://developer.mozilla.org/en-US/docs/Glossary/Response%20header)
[CORS-safelisted response header](https://developer.mozilla.org/en-US/docs/Glossary/CORS-safelisted%20response%20header) No

Syntax

Supports-Loading-Mode: <client-hint-headers>

Directives

The Supports-Loading-Mode header value is a list of one or more tokens, which can include the following values:

  • credentialed-prerender
    • : Indicates that a destination origin opts in to loading documents via cross-origin, same-site prerendering.
  • fenced-frame
    • : The response can be loaded inside a fenced frame. Without this explicit opt-in, all navigations inside of a fenced frame will fail.

Examples

Supports-Loading-Mode: fenced-frame

Specifications

Browser compatibility

See also