unknows JavaScript

This is an archive of old posting to the User Forum

unknows JavaScript

Postby Nikolaus Gruchot » Sat Dec 04, 2004 5:13 pm

Hello there,

today I noticed some javascript in our shopsite 7.1.1. generated product
more info pages (we use the default product template) _below_ the html tag:

......
</html>
<script language="JavaScript">
<!--
var SymRealOnLoad;
var SymRealOnUnload;

function SymOnUnload()
{
window.open = SymWinOpen;
if(SymRealOnUnload != null)
SymRealOnUnload();
}

function SymOnLoad()
{
if(SymRealOnLoad != null)
SymRealOnLoad();
window.open = SymRealWinOpen;
SymRealOnUnload = window.onunload;
window.onunload = SymOnUnload;
}

SymRealOnLoad = window.onload;
window.onload = SymOnLoad;

//-->
</script>

As my knowlegde concerning JS is limited... What does this JS is doing? And
why is it located outside the page code?

Thank you,

Niko
Nikolaus Gruchot
 

Re: unknows JavaScript

Postby jim » Sat Dec 04, 2004 6:58 pm

This is probably being added by your local firewall. See
http://b9.ezboard.com/fnutzboardfrm22.s ... =475.topic

Jim


Nikolaus Gruchot wrote:
Hello there,

today I noticed some javascript in our shopsite 7.1.1. generated product
more info pages (we use the default product template) _below_ the html tag:

.....
/html
script language="JavaScript"
!--
var SymRealOnLoad;
var SymRealOnUnload;

function SymOnUnload()
{
window.open = SymWinOpen;
if(SymRealOnUnload != null)
SymRealOnUnload();
}

function SymOnLoad()
{
if(SymRealOnLoad != null)
SymRealOnLoad();
window.open = SymRealWinOpen;
SymRealOnUnload = window.onunload;
window.onunload = SymOnUnload;
}

SymRealOnLoad = window.onload;
window.onload = SymOnLoad;

//--
/script

As my knowlegde concerning JS is limited... What does this JS is doing? And
why is it located outside the page code?

Thank you,

Niko

jim
 

Re: unknows JavaScript

Postby loren_d_c » Sat Dec 04, 2004 6:59 pm

Niko,

I don't see that on your More Info Pages (I've looked at a few). I bet
if you will look at the pages as they are on the server (via FTP or
something) you will not see it there either. This is probably being
placed in the source of the page as it is downloaded by an anti-virus or
firewall program running on your desktop computer. I know, for example,
that Zone Alarm Pro adds its own JavaScript to every page you look at on
the internet that has JavaScript on it, however what I have seen from
Zone Alarm Pro is a bit different than that, so it is probably some
other program you are using on your computer.

-Loren




Nikolaus Gruchot wrote:
Hello there,

today I noticed some javascript in our shopsite 7.1.1. generated product
more info pages (we use the default product template) _below_ the html tag:

.....
/html
script language="JavaScript"
!--
var SymRealOnLoad;
var SymRealOnUnload;

function SymOnUnload()
{
window.open = SymWinOpen;
if(SymRealOnUnload != null)
SymRealOnUnload();
}

function SymOnLoad()
{
if(SymRealOnLoad != null)
SymRealOnLoad();
window.open = SymRealWinOpen;
SymRealOnUnload = window.onunload;
window.onunload = SymOnUnload;
}

SymRealOnLoad = window.onload;
window.onload = SymOnLoad;

//--
/script

As my knowlegde concerning JS is limited... What does this JS is doing? And
why is it located outside the page code?

Thank you,

Niko

loren_d_c
 
Posts: 2571
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Re: unknows JavaScript

Postby Nikolaus Gruchot » Sun Dec 05, 2004 7:55 am

Hi Loren,
Hi Jim,

one never stops learning. Indeed I did notice this when working our store
from my notebook @ home that connects to the net through a WLAN hub
connected to a hardware firewall connected to a DSL modem.

When looking @ the pages and source from our office where we have a
different setup, no pages have the added JS. So it really is the firewall
playing tricks on me :-)

Thank you,

Niko

"Loren" <loren_d_c@yahoo.com> schrieb im Newsbeitrag
news:cotmf4$4c5$1@eval.shopsite.com...
Niko,

I don't see that on your More Info Pages (I've looked at a few). I bet if
you will look at the pages as they are on the server (via FTP or
something) you will not see it there either. This is probably being placed
in the source of the page as it is downloaded by an anti-virus or firewall
program running on your desktop computer. I know, for example, that Zone
Alarm Pro adds its own JavaScript to every page you look at on the
internet that has JavaScript on it, however what I have seen from Zone
Alarm Pro is a bit different than that, so it is probably some other
program you are using on your computer.

-Loren

Nikolaus Gruchot
 


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 4 guests