Forum Moderators: open

Message Too Old, No Replies

Javascript inserting itself into pages I view

All HTML coding I am viewing is somehow inserting unwanted javascript

         

jetnovo

9:46 pm on May 17, 2004 (gmt 0)

10+ Year Member



Hi there

No matter what browser I am using on my computer - Opera 7.5, IE 6.0, Netscape or Mozilla, if I click "VIEW SOURCE" I see the following javascript between the

</body>
and
</html>
tags:

<script language="JavaScript">
<!--

window.open = SymRealWinOpen;

//-->
</script>

This is happening on every page, even those I have built myself that I know have no javascript. Collegues viewing the same pages do not have this code anywhere in the page.

Does anyone know what is causing this and ho to stop it?

Regards,
Jet

korkus2000

9:51 pm on May 17, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I believe Norton Internet Security adds this. Are you running symantec software for popup blocking or firewall?

jetnovo

9:53 pm on May 17, 2004 (gmt 0)

10+ Year Member



Yes I've just also found this:

[webmasterworld.com...]

I am running Norton Internet Security 2003 so this is obviously the problem.

How bizarre; I'd be interested to know why Norton Internet Security 2003 has to insert javascript into my pages.

mattglet

10:01 pm on May 17, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Looks like they are converting your popup links into suitable (in Norton's eyes) popups. Do you have popup's on your page, or is this just bloat code?

-Matt

john_k

10:03 pm on May 17, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It is overriding the default window.open function with a call to SymRealWinOpen. This way it doesn't need to see if the page is going to attempt to open a window. Any attempts to do so will result in the SymRealWinOpen function being executed.

tedster

11:01 pm on May 17, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you turn off pop-up blocking, then you're home free. I do that when I use Opera to validate pages online. Otherwise the extra code gets sent to the W3C from my cache and Symantec's script tag is not valid (it uses the old "language" attribute and not the more recently required "type" attribute.)

I also wrote to Symantec (Norton) about this, they said they were aware of the issue and it would be fixed in an update. But not so far.

jetnovo

1:24 am on May 19, 2004 (gmt 0)

10+ Year Member



Interesting notes, thanks!
Matt - no I had no popups on my page.
Ted - good idea; I have disabled this and the issue has been resolved.

Thanks again for your ideas and assistance.