Forum Moderators: open

Message Too Old, No Replies

Norton Internet Security

NIS seems to insert JS code into html

         

jgoodwyn

4:44 pm on Nov 24, 2004 (gmt 0)

10+ Year Member



I have a problem that every time I open a page to edit it, I get the following code inserted, which really messes with any other javascript I might have running:
<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>

Has anyone experienced this? Is there anything I can do to prevent it? Is there a setting anyone knows of in NIS that will prevent this?

Rambo Tribble

5:55 pm on Nov 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The injected code is part of Norton's pop-up blocker. If you turn the blocker off, the code won't appear.

This code is known to break pages as it modifies the window object in ways that can have unpredictable effects.

jgoodwyn

6:24 pm on Nov 24, 2004 (gmt 0)

10+ Year Member



Aha. Thank you for that.