Hey
Every time I load a page to a server and then view the source code, there is some JavaScript code that I didn't write myself, it was just added.
I have always had this and it didn't bother me since I thought it was normal, but I noticed that many pages don't have it, so there must be something with mine.
There is a piece of code added to the head section and one after the html closing tag. They look like this:
Code:<script language="JavaScript"> <!-- function SymError() { return true; } window.onerror = SymError; function SymInitWinOpen() { if (SymRealWinOpen == null) SymRealWinOpen = window.open; return SymWinOpen; } function SymWinOpen(url, name, attributes) { return (new Object()); } var SymRealWinOpen; window.open = SymInitWinOpen(); //--> </script>Code:<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; if (SymRealOnUnload == null) { SymRealOnUnload = window.onunload; window.onunload = SymOnUnload; } } function SymInitWinOnload() { if ( SymRealOnLoad == null ) SymRealOnLoad = window.onload; return SymOnLoad; } window.onload = SymInitWinOnload(); //--> </script>
Id doesn't seem to appear when I validate the code but it's there if I view the source or save the page.
What I'd like to know is: What is it? Why does it appear? What does it do? Do I need it? If no, how do I get rid of it?
Thanks for your help!



Reply With Quote

Bookmarks