Geeks With Blogs
Joseph Baggett Scrooge McDuck "Work smarter, not harder"

Found this hack to allow popups without calling the window.open which is blocked by IE.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
 <HEAD>
  <TITLE>Don't Block Me</TITLE>

 </HEAD>

 <BODY onunload="pop();">
 
   <object id='launcher' width=0 height=0 classid='CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6'></object>

 <script language="javascript">
  var popUrl = "http://hotmail.com";
  function pop()
  {
   launcher.launchURL(popUrl);
  }
 </script>
 </BODY>
</HTML>

This was weird... it is actually calling a window media player object.  Hope this intrigues someone.

Posted on Friday, April 3, 2009 12:14 PM | Back to top


Comments on this post: IE window.open no block hack

# re: IE window.open no block hack
Requesting Gravatar...
if u have default browser in windows other then IE, it will open new win in that def. browser :(
Left by synek on Aug 26, 2009 4:54 AM

Your comment:
 (will show your gravatar)


Copyright © JosephBaggett | Powered by: GeeksWithBlogs.net