If you really need (i.e., you're ready to resort to half-hacks) to delay closing the page without showing a confirmation dialog, etc., you can do something like the following:
function delay(ms) {
var start = +new Date;
while ((+new Date - start) < ms);
}
delay(150);
: , . , 95% ( ).