In Web API
Window.locationbar property returns the object of
locationbar, for which we can check the
visibility.
Syntax:
objectReference = window.locationbar
Example: Check the visibility.
Output:
Click the button:
👁 Image
When the button is clicked:
👁 Image
Supported Browsers:
- Google Chrome
- Edge 12
- Firefox
- Safari
- Opera