Norton Adding some javascript code to the html generated

  • Thread starter Thread starter SM
  • Start date Start date
S

SM

Hi ,

I am using a window.open function to popup window in my
C# code in this manner .

Response.Write("<SCRIPT language=\"javascript\">");
Response.Write(String.Format("window.open(\"{0}
\",\"_blank\",\"toolbar=no\",\"menubar=no\");",url));
Response.Write("</SCRIPT>");

and there is some additional piece of code is there in
this file.
While generating the output an additional piece is
getting added in the source (when the source is seen in
the browser) its
<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>


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

window.open = SymRealWinOpen;

//-->
</script>

i searched on the net and find out that Norton antivirus
is adding this piece to html generated and if the
firewall is deactivated it works fine .

could there be any other solution to tackle this problem
without deactivating the firewall.

thanks ..
shivani~~~
 
Back
Top