PDA

View Full Version : How to get rid of window.onerror = SymError ?


oriane
09-13-2005, 08:05 PM
I have it 3 times in my pages :o one is as i guess because that i include header page and i dont know the others.. How can i remove it?

Sure i m talking about

<script language="JavaScript">
<!--

function SymError()
{
return true;
}

window.onerror = SymError;

var SymRealWinOpen = window.open;

function SymWinOpen(url, name, attributes)
{
return (new Object());
}

window.open = SymWinOpen;

//-->
</script>

_Aerospace_Eng_
09-13-2005, 08:07 PM
Norton Internet Security does this to prevent popups. Be sure that your page is uploaded without the script. It doesn't do it on all pages, just pages that have window.open in the scripts. I believe if you put the JS in a seperate file then use the src in the script tags norton might not pick it up.