Norton Adding some javascript code to the html generated

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • SM

    #1

    Norton Adding some javascript code to the html generated

    Hi ,

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

    Response.Write( "<SCRIPT language=\"java script\">");
    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="JavaS cript">
    <!--

    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="JavaS cript">
    <!--

    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~~~
  • Parker Zhang [MSFT]

    #2
    RE: Norton Adding some javascript code to the html generated

    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


    6/d7efa10884b32ff c88256bf10076f0 b9

    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.

    Comment

    Working...