What does this script do?

  • Thread starter Thread starter Jeremy
  • Start date Start date
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>
 
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/
 
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 :-)
 
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>
|
|
 
Back
Top