someone wrote:
How can a javascript check its window is still visible in the browser?
No.
You can however do things close to that, like checking if it still exists
(only if your 'checking window' was the one that opened it in the first
place) and you can put it on top of other windows by calling it's focus()
method.
You can also find out its position and such.
Mind that JS has NO ACCESS to other windows that can be on top of it, so you
won't get a solid reliable solution to this problem.
Regards,
Erwin Moller