aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/window/getattention/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/window/getattention/index.html')
-rw-r--r--files/zh-cn/web/api/window/getattention/index.html33
1 files changed, 0 insertions, 33 deletions
diff --git a/files/zh-cn/web/api/window/getattention/index.html b/files/zh-cn/web/api/window/getattention/index.html
deleted file mode 100644
index f17531eb18..0000000000
--- a/files/zh-cn/web/api/window/getattention/index.html
+++ /dev/null
@@ -1,33 +0,0 @@
----
-title: Window.getAttention()
-slug: Web/API/Window/getAttention
-translation_of: Web/API/Window/getAttention
----
-<div>{{ ApiRef() }}</div>
-
-<p>The <code><strong>Window.getAttention()</strong></code> method attempts to get the user's attention. The mechanism for this happening depends on the specific operating system and window manager.</p>
-
-<h2 id="语法">语法</h2>
-
-<pre class="syntaxbox">window.getAttention();
-</pre>
-
-<h2 id="Notes">Notes</h2>
-
-<p>On Windows, the taskbar button for the window flashes, if this hasn't been disabled by the user.</p>
-
-<p>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.</p>
-
-<p>On Macintosh, the icon in the upper right corner of the desktop flashes.</p>
-
-<p>The function is disabled for web content. Neither Gecko nor Internet Explorer supports this feature now for web content. <code>getAttention</code> will still work when used from <a href="en/Chrome">chrome</a> in a Gecko application.</p>
-
-<h2 id="Specification">Specification</h2>
-
-<p>DOM Level 0. Not part of specification.</p>
-
-<h2 id="Browser_compatibility">Browser compatibility</h2>
-
-
-
-<p>{{Compat("api.Window.getAttention")}}</p>