Torne (Richard Coles) | 5c87bf8 | 2012-11-14 11:46:17 +0000 | [diff] [blame] | 1 | <script> |
2 | var showedAlert = false; | ||||
3 | function handleUnload() | ||||
4 | { | ||||
5 | if (showedAlert) | ||||
6 | return; | ||||
7 | |||||
8 | showedAlert = true; | ||||
9 | alert("Now Quit Safari. Do not dismiss this alert first."); | ||||
10 | } | ||||
11 | </script> | ||||
12 | <body onunload="handleUnload()"> | ||||
13 | Close this window | ||||
14 | </body> |