a security warning “The web page you are viewing is trying to close the window. Do you want to close this window? Yes|No ” is popping up. Is there any possibility to close a window silently? Yes.
A simple hack i found on the web will help to get rid of this situation.
this.focus(); self.opener = this; self.close();
but in Firefox you can do this. Firefox will not allow you to close using the above code. Maybe anybody found/having any code post it here.