Re: weird!! pop-up problem
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: weird!! pop-up problem

From: Randy Webb <HikksNotAtHome@aol.com>
Date: Wed Nov 30 2005 - 13:39:35 CET

VK said the following on 11/30/2005 4:08 AM:
>>pop-up problem
>
>
> The pop-up problem has been discussed here many times (search the posts
> for "pop-up")
>
> The problem is that any modern browser (including IE 6 starting with XP
> SP2) has build in anti-popup activated by default.

And it only blocks popups that are non user initiated. Clicking a link
that opens a new window will not invoke the popup blocker in IE6.

> Also nearly any anti-virus program has its own anti-popup also. In the
> latter case IE cannot determine the popup state (its absence) and
> crashes.

Irrelevant but true.

> If your solution is not for intranet-only (so you cannot set each
> station in the needed way) then you have to start to migrate
> immediately on popup'less solution (iframe / div / browser state
> snapshot). Otherwise approx. by the first middle of the next year your
> site will be not functional for 90% of your visitors.
> For the migration period you may use try-catch block to notify your
> visitors:
>
> try {
> window.open(...);
> }
> catch (e) {
> alert("Blocked by popup blocker");

alert("For some reason, I couldn't open the window");

There are other reasons a window may not open besides a popup blocker.

> }
>

-- 
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Answer:It destroys the order of the conversation
Question: Why?
Answer: Top-Posting.
Question: Whats the most annoying thing on Usenet?
Please quote what you are replying to.
If you want to post a followup via groups.google.com, don't use the
"Reply" link at the bottom of the article. Click on "show options" at
the top of the article, then click on the "Reply" at the bottom of the
article headers.
Received on Sat Dec 3 04:33:24 2005