Page 1 of 1

unknows JavaScript

PostPosted: Sat Dec 04, 2004 5:13 pm
by Nikolaus Gruchot
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

Re: unknows JavaScript

PostPosted: Sat Dec 04, 2004 6:58 pm
by jim
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


Re: unknows JavaScript

PostPosted: Sat Dec 04, 2004 6:59 pm
by loren_d_c
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


Re: unknows JavaScript

PostPosted: Sun Dec 05, 2004 7:55 am
by Nikolaus Gruchot
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