I volontari di MDN non hanno ancora tradotto questo articolo in Italiano. Unisciti a noi e traducilo tu stesso.
Puoi anche consultare l’articolo in English (US).

The Window.menubar property returns the menubar object, whose visibility can be checked.

Syntax

objRef = window.menubar 

Example

The following complete HTML example demonstrates how the visible property of the menubar object is used.

<html>
<head>
  <title>Various DOM Tests</title>
  <script>
    var visible = window.menubar.visible;
  </script>
</head>
<body>
  <p>Various DOM Tests</p>
</body>
</html>

Specifications

Specification Status Comment
HTML Living Standard
The definition of 'Window.menubar' in that specification.
Living Standard  
HTML5
The definition of 'Window.menubar' in that specification.
Recommendation  

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
menubarChrome Full support YesEdge Full support 12Firefox Full support YesIE ? Opera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesEdge Mobile ? Firefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown

See also

Tag del documento e collaboratori

Hanno collaborato alla realizzazione di questa pagina: mdnwebdocs-bot, mfluehr, connorshea, sarafec, momdo, fscholz, teoli, libreGeekingKid, Sheppy, Bzbarsky, Potappo, Mgjbot, Kray2, Nickolay, Jumpin, Dria, JesseW
Ultima modifica di: mdnwebdocs-bot,