unknows JavaScript
Posted: 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
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