aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/windoweventhandlers/onunload
diff options
context:
space:
mode:
authorRyan Johnson <rjohnson@mozilla.com>2021-05-28 12:36:36 -0700
committerGitHub <noreply@github.com>2021-05-28 12:36:36 -0700
commit05a7219ba9605649cb6daa281e26209eaa73adf0 (patch)
tree63c9443b214d52257ff4ef5546f9e70c8b7365cd /files/zh-cn/web/api/windoweventhandlers/onunload
parent220a7d23b0755acc06146c1262aa09ba22d6e3b1 (diff)
downloadtranslated-content-05a7219ba9605649cb6daa281e26209eaa73adf0.tar.gz
translated-content-05a7219ba9605649cb6daa281e26209eaa73adf0.tar.bz2
translated-content-05a7219ba9605649cb6daa281e26209eaa73adf0.zip
fix MacroWrongXRefError flaws for some domxref calls (#1018)
Diffstat (limited to 'files/zh-cn/web/api/windoweventhandlers/onunload')
-rw-r--r--files/zh-cn/web/api/windoweventhandlers/onunload/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/api/windoweventhandlers/onunload/index.html b/files/zh-cn/web/api/windoweventhandlers/onunload/index.html
index 65b13fa59a..f381cf2b64 100644
--- a/files/zh-cn/web/api/windoweventhandlers/onunload/index.html
+++ b/files/zh-cn/web/api/windoweventhandlers/onunload/index.html
@@ -8,7 +8,7 @@ original_slug: Web/API/Window/onunload
<h3 id="Summary" name="Summary">概述</h3>
-<p>{{domxref("WindowEventHandlers")}} 的混入特性 <strong><code>onunload</code></strong> 是 {{domxref("EventHandler")}}  处理 {{Event("unload")}} 事件的方法。该事件在关闭窗口资源和内容的时候触发。页面资源的清除工作会在 <code>unload</code>  事件之后进行。</p>
+<p>{{domxref("WindowEventHandlers")}} 的混入特性 <strong><code>onunload</code></strong> 是 {{event("Event_handlers", "event handler")}}  处理 {{Event("unload")}} 事件的方法。该事件在关闭窗口资源和内容的时候触发。页面资源的清除工作会在 <code>unload</code>  事件之后进行。</p>
<div class="blockIndicator note">
<p><strong>注意事项:</strong> 具备弹窗阻止功能的浏览器会忽略 <code>onunload</code>  事件回调中调用的 {{domxref("Window.open()")}} 方法。</p>