Home

Jan. 2nd, 2007

Blue Rose, Ms. Elisabeth, Domme, Bow, Neko, Infinite Love, iServe, Domme Lisbeth, iWhip, Dead roses, Koineko, Koneko, Triskelion, Yamaneko, Heart of Hearts

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:

  newwin = window.open(myUrlString);
  if ( (newwin==null)
   ||(typeof(newwin)=="undefined")
   ||(typeof(newwin.location.hash)!="string")
  ){
    /* Popup blocker software detected. */
  }else{
    /* You can use 'newwin' now. */
  };