[thelist] Norton Firewall blocking Javascript

Steve Lewis nepolon at worlddomination.net
Tue Sep 2 13:54:08 CDT 2003


Quedgeley Church Site wrote:

> So can anyone confirm that this is out of the box behaviour not 
> someone being over-zealous and what do you guys suggest as a way round 
> it? 

I have been dealing with the issue of detecting and handling pop-up 
blockers recently.  As it turns out, Norton Personal Firewall rewrites 
the network stream before it passes the output to the browser, so it 
will indeed munge your window.open. 

We had been able to at least detect the presence of most other pop-up 
blockers (specifically Google's and and Mozilla's built in) with the 
something like the following code:

var myWin = function (openMyWin);
if ( myWin ) { // use your window here }
else { //alert the user that they should enable pop-ups for this domain }

There were still some version oddities with Mozilla returning false when 
the window was indeed opened and higher priority items have kept me from 
persuing this deeper.  It appears that for Norton, it is more difficult 
because of the way in which it guts the content fed to the browser.  
Please do alert the list if you come up with another solution to at 
least detect the failure to open the pop-up so I can file it away for 
when I get the chance to work on that issue again.

--Steve



More information about the thelist mailing list