--- title: Window.locationbar slug: Web/API/Window/locationbar translation_of: Web/API/Window/locationbar --- <div>{{APIRef}}</div> <div class="hidden"> <h2 id="Resumen">Resumen</h2> </div> <p>Devuelve el objeto <code>locationbar</code>, del cual se puede comprobar su visibilidad.</p> <h2 id="Sintaxis">Sintaxis</h2> <pre class="syntaxbox"><var>objRef</var> = window.locationbar </pre> <h2 id="Ejemplo">Ejemplo</h2> <p>El siguiente ejemplo completo en HTML, muestra la forma en la que se utiliza la propiedad <code>visible </code>del objeto <code>locationbar.</code></p> <pre class="brush:html"><!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>Various DOM Tests</title> <script> var visible = window.locationbar.visible; </script> </head> <body> <p>Various DOM Tests</p> </body> </html> </pre> <h2 id="Especificaciones">Especificaciones</h2> <table class="standard-table"> <tbody> <tr> <th scope="col">Especificación</th> <th scope="col">Estado</th> <th scope="col">Comentario</th> </tr> <tr> <td>{{SpecName('HTML WHATWG', 'browsers.html#dom-window-locationbar', 'Window.locationbar')}}</td> <td>{{Spec2('HTML WHATWG')}}</td> <td> </td> </tr> <tr> <td>{{SpecName('HTML5 W3C', 'browsers.html#dom-window-locationbar', 'Window.locationbar')}}</td> <td>{{Spec2('HTML5 W3C')}}</td> <td> </td> </tr> </tbody> </table> <h2 id="Ver_también">Ver también</h2> <ul> <li>{{domxref("window.locationbar")}}, {{domxref("window.menubar")}}, {{domxref("window.personalbar")}}, {{domxref("window.scrollbars")}}, {{domxref("window.statusbar")}}, {{domxref("window.toolbar")}}</li> </ul>