From 9101dbac1f07961c1f52879de7669de9fc468f07 Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Thu, 21 Dec 2017 00:03:40 +0300 Subject: [PATCH] minor --- 2-ui/3-event-details/10-onload-ondomcontentloaded/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2-ui/3-event-details/10-onload-ondomcontentloaded/article.md b/2-ui/3-event-details/10-onload-ondomcontentloaded/article.md index 11305212..d35a264d 100644 --- a/2-ui/3-event-details/10-onload-ondomcontentloaded/article.md +++ b/2-ui/3-event-details/10-onload-ondomcontentloaded/article.md @@ -130,7 +130,7 @@ For that we should use another event -- `onbeforeunload`. If a visitor initiated navigation away from the page or tries to close the window, the `beforeunload` handler asks for additional confirmation. -It may return a string with the question. Historically browsers used to show it, but as of now only some of them do. That's because certain webmasters abused this event handler, to protect the visitor from potentially misleading and hackish messages. +It may return a string with the question. Historically browsers used to show it, but as of now only some of them do. That's because certain webmasters abused this event handler by showing misleading and hackish messages. You can try it by running this code and then reloading the page.