What does this script do?

J

Jeremy

On lots of websites I see the script below. What does it do? Thanks for
explaining!! Jeremy

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

Chris Leeds, MVP-FrontPage

looks like a couple of JavaScript functions for opening a window and an
error function.

--
Chris Leeds,
Microsoft MVP-FrontPage

Make More Money with Less Work
Let Your Clients Control Their Content With Just A Browser!
http://contentseed.com/
 
J

Jon Spivey

Hi,
pound to a penny (dollar to a cent:) that's a script for a popup ad
window - they're trying to make sure the ad window won't bring the whole
page down if it fails. There's better ways to do this - but not in this
newsgroup :)
 
S

Stefan B Rusynko

It is generated by Norton IS as a popup blocker




| On lots of websites I see the script below. What does it do? Thanks for
| explaining!! Jeremy
|
| <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>
|
|
 

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

Top