Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

이 문서는 아직 자원 봉사자들이 한국어로 번역하지 않았습니다. 함께 해서 번역을 마치도록 도와 주세요!

Summary

Attempts to get the user's attention. How this happens varies based on OS and window manager.

Syntax

window.getAttention();

Notes

On Windows, the taskbar button for the window flashes, if this hasn't been disabled by the user.

On Linux, the behaviour varies from window manager to window manager - some flash the taskbar button, others focus the window immediately. This may be configurable as well.

On Macintosh, the icon in the upper right corner of the desktop flashes.

The function is disabled for web content. Neither Gecko nor Internet Explorer supports this feature now for web content. getAttention will still work when used from chrome in a Gecko application.

Specification

DOM Level 0. Not part of specification.

문서 태그 및 공헌자

 최종 변경: fscholz,