When Zone Alarm adds this 'pop-up blocker' code to the very begining of my webpage <script language='javascript'> NS_ActualOpen=window.open; function NS_NullWindow(){this.window;} function NS_NewOpen(url,nam,atr){return(new NS_NullWindow());} window.open=NS_NewOpen; </script> and this to end of the page <script> window.open=NS_ActualOpen; </script> it alters the page layout, see here for version with code & problem: http://www.llewellyn.co.uk/Rok/testodd.htm? and here for without: http://www.llewellyn.co.uk/Rok/testodd2.htm? Anyone want to hazard a guess as to how I can stop this happening? or what I may have done wrong? A couple of days ago I validated my CSS and HTML using the W3C validators so I thought the code was OK. I would really appreciate any comments as its driving me MAD
I will give it a try but my main concern is that users visiting who do not have privacy settings turned off will see the screwed-up page layout. I cant tell them to adjust their settings. I keep thinking if no one else has had the problem before it must be something wrong in my code.
if ZAP (or any other program) adds codes to the pages to try and block pop-ups or something else, then you can't be blamed IMO. It's hard enough to get a site working in all browsers (although it's getting easier if you leave out the oldies), let alone if you have to worry about all the different kinds of software people might have running that could mess with your pages.