aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/window/beforeunload_event/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/window/beforeunload_event/index.html')
-rw-r--r--files/zh-cn/web/api/window/beforeunload_event/index.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/files/zh-cn/web/api/window/beforeunload_event/index.html b/files/zh-cn/web/api/window/beforeunload_event/index.html
index 9cef2f2cfc..bd200d41ce 100644
--- a/files/zh-cn/web/api/window/beforeunload_event/index.html
+++ b/files/zh-cn/web/api/window/beforeunload_event/index.html
@@ -1,6 +1,6 @@
---
title: 'Window: beforeunload event'
-slug: Web/Events/beforeunload
+slug: Web/API/Window/beforeunload_event
tags:
- Event
- Window
@@ -8,6 +8,7 @@ tags:
- 事件
- 参考
translation_of: Web/API/Window/beforeunload_event
+original_slug: Web/Events/beforeunload
---
<p><span style="font-family: consolas,monaco,andale mono,monospace;">当浏览器窗口关闭或者刷新时,会触发beforeunload事件。当前页面不会直接关闭,可以点击确定按钮关闭或刷新,也可以取消关闭或刷新。</span></p>