Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. BarProp
  4. visible

BarProp: visible property

Baseline Widely available *

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨July 2015⁩.

* Some parts of this feature may have varying levels of support.

Thevisible read-only property of theBarProp interface returnstrue if the user interface element it represents is visible.

Value

ABoolean, which is true if the top-level window is opened bywindow.open with thepopup feature enabled.

Note:Historically this represented whether the interface element used is visibleor not. But for privacy reasons, this no longer represents the actual visibility of eachinterface element.

Examples

The following example printstrue to the console if the window is not a popup.

js
console.log(window.locationbar.visible);

Specifications

Specification
HTML
# dom-barprop-visible

Browser compatibility

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp