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

Windows.open source code

P: n/a
On most EVERY commercial site (including the pages on
comp.lang.javascript) I find the following code, word for word.

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

Is this some "standard" code that every Web page should have. Does it
control the opening of new windows when a user clicks on a newsgroup
message.

Thanks.

Info_Junkie

Sep 20 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Info_Junkie wrote:
On most EVERY commercial site (including the pages on
comp.lang.javascript) I find the following code, word for word.

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

function SymError()
<snip>
Is this some "standard" code that every Web page should have.
<snip>

No, it is code inserted by Norton internet security as the web pages
arrive at your machine.

Richard.

Sep 20 '06 #2

P: n/a

Richard Cornford wrote:
Info_Junkie wrote:
On most EVERY commercial site (including the pages on
comp.lang.javascript) I find the following code, word for word.

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

function SymError()
<snip>
Is this some "standard" code that every Web page should have.
<snip>

No, it is code inserted by Norton internet security as the web pages
arrive at your machine.

Richard.

Good to know. Norton is working to keep me safe. Has so far. What is
the function of the code? Thanks for the info

Info_Junkie

Sep 21 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.