aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/windoweventhandlers/onbeforeunload
diff options
context:
space:
mode:
authorRyan Johnson <rjohnson@mozilla.com>2021-05-28 12:05:52 -0700
committerGitHub <noreply@github.com>2021-05-28 12:05:52 -0700
commit220a7d23b0755acc06146c1262aa09ba22d6e3b1 (patch)
tree50a6ffafe663dc65f1a0f8816862d60e7ce23a33 /files/ja/web/api/windoweventhandlers/onbeforeunload
parent2958ec7e85c9a1182cd81728e3705948a2c39d71 (diff)
downloadtranslated-content-220a7d23b0755acc06146c1262aa09ba22d6e3b1.tar.gz
translated-content-220a7d23b0755acc06146c1262aa09ba22d6e3b1.tar.bz2
translated-content-220a7d23b0755acc06146c1262aa09ba22d6e3b1.zip
Revert "replace some domxref macro calls with event macro calls (#1016)" (#1017)
This reverts commit 2958ec7e85c9a1182cd81728e3705948a2c39d71.
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 ab88a283a4..2df07cafcd 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")}} イベントを処理する {{event("Event_handlers")}} です。このイベントはウィンドウでリソースを {{event("unload")}} しようとするときに発生します。この時点では文書はまだ表示されており、イベントはキャンセル可能な状態です。</p>
+<p><code><strong>onbeforeunload</strong></code> は {{domxref("WindowEventHandlers")}} ミックスインのプロパティで、 {{event("beforeunload")}} イベントを処理する {{domxref("EventHandler")}} です。このイベントはウィンドウでリソースを {{event("unload")}} しようとするときに発生します。この時点では文書はまだ表示されており、イベントはキャンセル可能な状態です。</p>
<div class="note">
<p><strong>メモ:</strong> ブラウザーによっては不要なポップアップを防ぐために、ページで操作が行われない限り、 <code>beforeunload</code> イベントハンドラーの中で作られたプロンプトを表示しないことがあります。さらに、ブラウザーによっては全く表示しないかもしれません。</p>