Sec-Fetch-User

Draft
This page is not complete.

The Sec-Fetch-User fetch metadata header indicates whether or not a navigation request was triggered by a user activation.

Header type Fetch Metadata Request Header
Forbidden header name yes, since it has prefix Sec-
CORS-safelisted request header

Syntax

Sec-Fetch-User: ?0
Sec-Fetch-User: ?1

Values

The value is a Boolean Structured Header.

?0
The navigation request was triggered by a user activation.
?1
The navigation request was triggered by something other than a user activation.

Examples

TODO

Specifications

Specification Status Comment
Fetch Metadata Request Headers
The definition of 'Sec-Fetch-User' in that specification.
Editor's Draft Initial definition

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
Sec-Fetch-User
Experimental
Chrome Full support 76Edge Full support 79Firefox No support NoIE No support NoOpera Full support 63Safari No support NoWebView Android Full support 76Chrome Android Full support 76Firefox Android No support NoOpera Android Full support 54Safari iOS No support NoSamsung Internet Android No support No

Legend

Full support  
Full support
No support  
No support
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.

See also