Close Window on exit?
I have two questions and I'm sure there is an easy script for this but I can't seem to figure it out.
1.) I would like to be able to close a popup window when I click on any other window. My goal is to have as few windows open at the same time, prevent clutter.
2.) Also if I have a pop up window open and return to the main screen without closeing it and click the same script that opens the popup it opens the same window again. I would like it to go to the currently open window instead of opening a new window.