Returns the locationbar object, whose visibility can be checked.


objRef = window.locationbar 


The following complete HTML example shows how the visible property of the locationbar object is used.

<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8" />
<title>Various DOM Tests</title>

var visible = window.locationbar.visible;

  <p>Various DOM Tests</p>


Specification Status Comment
HTML Living Standard
The definition of 'Window.locationbar' in that specification.
Living Standard  
The definition of 'Window.locationbar' in that specification.

Browser compatibility

Update compatibility data on GitHub
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
locationbarChrome Full support YesEdge Full support 12Firefox Full support YesIE ? Opera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes


Full support  
Full support
Compatibility unknown  
Compatibility unknown

See also

Document Tags and Contributors

Last updated by: mdnwebdocs-bot,