By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,806 Members | 1,465 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,806 IT Pros & Developers. It's quick & easy.

Norton Adding some javascript code to the html generated

P: n/a
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~~~
Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi,

I searched symantec, and found that the problem is caused by the popup
killer.

Please disable it by following the steps in the following link

http://service1.symantec.com/SUPPORT...8256bc7005c3bc
6/d7efa10884b32ffc88256bf10076f0b9

Any Qs, please reply to this post.

--
Parker Zhang
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.