For all those web developers...
... who write their code like people don't use popup blockers: they do.
I get really, really tired of seeing, "A Runtime Error has occured. Do you wish to Debug?"
You know, it's really easy to write your code so it doesn't do that? Please don't use the window handle you created until you know that the the create worked. Here's an example of how to check:
I get really, really tired of seeing, "A Runtime Error has occured. Do you wish to Debug?"
You know, it's really easy to write your code so it doesn't do that? Please don't use the window handle you created until you know that the the create worked. Here's an example of how to check:
newwin = window.open(myUrlString);
if ( (newwin==null)
||(typeof(newwin)=="undefined")
||(typeof(newwin.location.hash)!="str ing")
){
/* Popup blocker software detected. */
}else{
/* You can use 'newwin' now. */
};