I have disable my firewall, virus software, google pop up allowed, ie6 popp
up checker disabled.
Is there an other one?
This script tels me :
"Pop-up windows are blocked. Please disable your popup blocker in order to
use the site.".
function POPRESULT(POP,NIS){
if (POP&&!NIS) {
xPopTested = true;
ShowMessage();//alert("All pop-up windows are supported.");
} else if (NIS) {
alert("Norton Internet Security has been detected. This may be disable
some pop-up windows. Please disable this feature for this site.");
} else {
alert("Pop-up windows are blocked. Please disable your popup blocker in
order to use the site.");
}
}
function POPTEST(){
try{
if(!xPopTested)
{
window.focus();
xWin=window.open("popuptest.htm","xWin","top=5000,left=5000,width=100,height=100");
setTimeout("test_xWin()",700);
}
else ShowMessage();
}catch(e){}
}
function test_xWin(){
is_ie=false;
is_mac=false;
PWOBJ=typeof(window.open);
if (document.body&&typeof(document.body.innerHTML)!="undefined"){
PAGE=document.body.innerHTML.toLowerCase();
}
// DETECT NORTON INTERNET SECURITY
if
((window.SymWinOpen)||(window.SymRealWinOpen)||(PAGE.indexOf("symrealwinopen")!=-1)||((PWOBJ.indexOf("function")!=-1)&&(!is_mac&&is_ie)))
is_nis=true;
// DETECT POP-UP KILLERS
else if ((xWin==null)||(typeof(xWin)=="undefined")||(!POPWRITE))
xWindow=false;
// POP-UP SUCCESSFUL
else xWin.close();
POPRESULT(xWindow,is_nis);
}
var xPopTested=false;
var xWin=null;
var xWindow=true;
var x=null;
var PWOBJ=null;
var is_ie=false;
var is_mac=false;
var is_nis=false;
var PAGE="";
var POPWRITE=false;
Thanks for your attention

Signature
Jean Pierre Daviau
--
Easyphp1.8
Apache1.3.24
DEVC++, borland 5.5
windows Xp
asus p4 s533/333/133
Intel(R) Celeron (R) CPU 2.00 GHz
http://www.jeanpierredaviau.com
Jean Pierre Daviau - 30 Jan 2006 22:34 GMT
I corrected some problems on this script. It seems to work.
Advises please.
----------------------
<html>
<head>
<title>check pop up</title>
<SCRIPT type="text/javascript" language="JavaScript">
<!--
var xPopTested=false;
var xWin=null;
var xWindow=true;
var x=null;
var PWOBJ=null;
var is_ie=false;
var is_mac=false;
var is_nis=false;
var PAGE="";
var POPWRITE=false;
function ShowMessage(){
alert("All pop-up windows are supported.");
}
function POPRESULT(POP,NIS){
if (POP &&! NIS) {
xPopTested = true;
ShowMessage();
} else if (NIS) {
alert("Norton Internet Security has been detected. This may be disable
some pop-up windows. Please disable this feature for this site.");
} else {
alert("Pop-up windows are blocked. Please disable your popup blocker in
order to use the site.");
}
}
function POPTEST(){
try{
if(!xPopTested)
{
window.focus();
xWin=window.open("popuptest.htm","xWin","top=5000,left=5000,width=100,height=100");
setTimeout("test_xWin(xWin)",700);
}
else ShowMessage();
}catch(e){}
}
function test_xWin(xWinin){
is_ie=false;
is_mac=false;
PWOBJ=typeof(window.open);
alert(xWinin.document.body.innerHTML);
if (document.body && typeof(document.body.innerHTML)!="undefined"){
PAGE=document.body.innerHTML.toLowerCase();
}
// DETECT NORTON INTERNET SECURITY
if
((window.SymWinOpen)||(window.SymRealWinOpen)||(PAGE.indexOf("symrealwinopen")!=-1)||((PWOBJ.indexOf("function")!=-1)&&
(!is_mac&&is_ie))) {
is_nis=true;
// DETECT POP-UP KILLERS
}else{
if ((xWin==null)||(typeof(xWin)=="undefined")) {//||(!POPWRITE)
xWindow=false;
}
// POP-UP SUCCESSFUL
else{
xWin.close();
}
}
POPRESULT(xWindow,is_nis);
}
//-->
</SCRIPT>
</head>
<body onLoad="POPTEST()">
</BODY>
</HTML>
---------------------------------
Randy Webb - 30 Jan 2006 23:44 GMT
Jean Pierre Daviau said the following on 1/30/2006 5:34 PM:
> I corrected some problems on this script. It seems to work.
> Advises please.
<snip>
IE6 WinXP SP2 gives an error of permission denied.
Gives a false positive with the AOL Popup Blocker in AOL9.0 as well.

Signature
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Jean Pierre Daviau - 31 Jan 2006 19:53 GMT
The goal of this script is to test if the pop ups are allowed. I tried it
with IE6, Opera and Mozilla everything OK. For the others I dont have them.
> IE6 WinXP SP2 gives an error of permission denied.
??It does not gives this?
alert("Pop-up windows are blocked. Please disable your popup blocker in
order to use the site.");
> Gives a false positive with the AOL Popup Blocker in AOL9.0 as well.
Is this another one?
I added a window.opener.POPWRITE = true; in popuptest.htm
if ((xWin==null)||(typeof(xWin)=="undefined")||(!POPWRITE)
) {
xWindow=false;
}
Thanks
Jean Pierre Daviau - 31 Jan 2006 20:41 GMT
You can try it there:
http://www.jeanpierredaviau.com/noname3.html
BootNic - 31 Jan 2006 22:13 GMT
> news:qYPDf.13532$Zn4.456090@wagner.videotron.net....
>
> You can try it there:
>
> http://www.jeanpierredaviau.com/noname3.html
Ad Muncher seems to block it all, no alerts, no popups.
Only used for testing, never updated, default settings.
Ad Muncher Usage Statistics for v4.6 Build 10270
Adverts removed by Ad Muncher: 47,938
Approximate bandwidth saved: 374 MB
Counter started: May 25, 2005

Signature
BootNic Tuesday, January 31, 2006 5:12 PM
If we were not meant to make mistakes we would not have a Department of Corrections.
*Unknown**