The contentWindow read-only property of the HTMLObjectElement interface returns a WindowProxy representing the window proxy of the object element's nested browsing context, if any; otherwise null.


var WindowProxy = HTMLObjectElement.contentWindow;


A WindowProxy.


Specification Status Comment
HTML Living Standard
The definition of 'contentWindow' in that specification.
Living Standard Initial definition.

Browser compatibility

Update compatibility data on GitHub
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
contentWindowChrome Full support 53Edge Full support 17Firefox Full support YesIE No support NoOpera No support NoSafari No support NoWebView Android Full support 53Chrome Android Full support 53Firefox Android No support NoOpera Android No support NoSafari iOS No support NoSamsung Internet Android Full support 6.0


Full support  
Full support
No support  
No support