Norton Adding some javascript code to the html generated

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~~~
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top