aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/windoweventhandlers/onbeforeunload
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/ja/web/api/windoweventhandlers/onbeforeunload
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/ja/web/api/windoweventhandlers/onbeforeunload')
-rw-r--r--files/ja/web/api/windoweventhandlers/onbeforeunload/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ja/web/api/windoweventhandlers/onbeforeunload/index.html b/files/ja/web/api/windoweventhandlers/onbeforeunload/index.html
index 2df07cafcd..4cae423f48 100644
--- a/files/ja/web/api/windoweventhandlers/onbeforeunload/index.html
+++ b/files/ja/web/api/windoweventhandlers/onbeforeunload/index.html
@@ -14,7 +14,7 @@ translation_of: Web/API/WindowEventHandlers/onbeforeunload
---
<div>{{APIRef("HTML DOM")}}</div>
-<p><code><strong>onbeforeunload</strong></code> は {{domxref("WindowEventHandlers")}} ミックスインのプロパティで、 {{event("beforeunload")}} イベントを処理する {{domxref("EventHandler")}} です。このイベントはウィンドウでリソースを {{event("unload")}} しようとするときに発生します。この時点では文書はまだ表示されており、イベントはキャンセル可能な状態です。</p>
+<p><code><strong>onbeforeunload</strong></code> は {{domxref("WindowEventHandlers")}} ミックスインのプロパティで、 {{event("beforeunload")}} イベントを処理する {{event("Event_handlers", "event handler")}} です。このイベントはウィンドウでリソースを {{event("unload")}} しようとするときに発生します。この時点では文書はまだ表示されており、イベントはキャンセル可能な状態です。</p>
<div class="note">
<p><strong>メモ:</strong> ブラウザーによっては不要なポップアップを防ぐために、ページで操作が行われない限り、 <code>beforeunload</code> イベントハンドラーの中で作られたプロンプトを表示しないことがあります。さらに、ブラウザーによっては全く表示しないかもしれません。</p>