PDA

View Full Version : questions about javascript codes in source code ?


morrisdan1
06-05-2005, 03:34 PM
Hi,

When editing each of my site's .html page using notepad, I only see the following, banner-rotator inserted codes:

<p align="center">
<script language="javascript" type="text/javascript" src="javascripts/banners.js"></script></p>

Yet, when these same .html files were uploaded into my site's server and then when I looked at the source codes of these same .html files using IE, I see the following codes ?:

<p align="center">

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

<script language="javascript" type="text/javascript" src="javascripts/banners.js"></script></p>

I'm not sure what to make of the codes that was inserted between the "p align='center'" and the "<script language="javascript" type="text/javascript" src="javascripts/banners.js"></script></p>" ?

Is that an implication that there's something wrong or that there is an error somewhere ? Even though the banners seem to look fine on top of each .html page ?

Another thing, is that the extra codes only seem to show up in my site's source codes. Cause I tried downloading a .html file from my site's back into my disk, just to see if the extra codes were still in it but they weren't... :hrmm:

Thanks again in advance!

phppete
06-05-2005, 04:01 PM
That code will be in every page you ever view because you are running Norton AV blockup popper, Norton AV is adding that to every page. Turn off the popup blocker and that code will be removed. FWIW I am totally against progs that edit web pages and Norton AV is well known for its problems with this poor solution.