Window.locationbar
Renvoie l'objet locationbar
, dont la visibilité peut être vérifiée.
Syntaxe
js
objRef = window.locationbar;
Exemple
L'exemple HTML complet suivant montre comment la propriété visible
de l'objet locationbar
est utilisée.
html
<!doctype html>
<html lang="fr">
<head>
<meta charset="UTF-8" />
<title>Divers tests DOM</title>
<script>
var visible = window.locationbar.visible;
</script>
</head>
<body>
<p>Divers tests DOM</p>
</body>
</html>
Spécifications
Specification |
---|
HTML # dom-window-locationbar-dev |
Compatibilité des navigateurs
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
locationbar |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.