This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The frameType read-only property of the Client interface indicates the type of browsing context of the current Client. This value can be one of auxiliarytop-levelnested, or none.


var myFrameType = Client.frameType;




Specification Status Comment
Service Workers
The definition of 'frameType' in that specification.
Working Draft Initial definition.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support43 ?441 No30 No
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support4343 No4430 No4.0

1. Service workers (and Push) have been disabled in the Firefox 45 & 52 Extended Support Releases (ESR).

Document Tags and Contributors

Contributors to this page: fscholz, chrisdavidmills, jpmedley, kscarfone
Last updated by: fscholz,