[pmwiki-users] Unexpecte JavaScript at bottom of PmWiki page

Hans Bracker hans.bracker at googlemail.com
Thu Aug 3 12:18:46 CDT 2006


On 03/08/06, Sandy <sandy at onebit.ca> wrote:
> At the bottom of my home page I'm getting unexpected JavaScript. All I
> know about JavaScript is how to recognize it. (The opening tag is a bit
> of a giveaway.)
>
> http://www.cricket.onebit.ca/
>
> 1. Anyone know how it got there? (Maybe the webring code?)
>
> 2. Is it something I should worry about?
>
> Thanks,
>
> Sandy
>
> +++++
>
> The code is:
>
>
> <!-- revision history -->
> <!-- did lots before June 9, 2006-->
> <!-- June 9, 2006 changed browse to , for PmWiki Rev 2.1.10-->
>
>
> <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>

The "Sym" gives it away, as in "Symantec".
Sounds like you have Norton Internet Security installed.
It has a popup blocker as part of the package,
and it inserts code into every web page that passes through it.
The script you see makes any window.open function return false
so they wont work.




More information about the pmwiki-users mailing list