Why does Frontpage 2003 add javascript code when opening an html f

G

Gerald

When loading a file, Frontpage adds the following code after the TITLE

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

Fontpage also adds the following code after the closing </HTML> tag

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

Other similar FrontPage 2003 installations do not do this, why?
 
S

Steve Easton

Are you loading this from your host / live web??
If so, it's your host adding it, not FrontPage.


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
S

Stefan B Rusynko

It is actually added to every page by Norton Internet security




| Are you loading this from your host / live web??
| If so, it's your host adding it, not FrontPage.
|
|
| --
| Steve Easton
| Microsoft MVP FrontPage
| 95isalive
| This site is best viewed............
| .......................with a computer
|
|
|
|
| | > When loading a file, Frontpage adds the following code after the TITLE
| >
| > <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>
| >
| > Fontpage also adds the following code after the closing </HTML> tag
| >
| > <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>
| >
| > Other similar FrontPage 2003 installations do not do this, why?
| >
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top