PDA

View Full Version : mobile statcounter


geekgirl
12-16-2004, 09:53 PM
Hi, my statcounter has moved to the left on my main page, there should be a 12% margin down the left so that all of my text and my statcounter start after the left side image. This is more apparent on the other pages where there is blocks of text.

I have been fiddling around with the code today so I have obviously done something and I just can't see what. I have spent too long looking at it now, so it would be appreciated if anyone gets a spare minute to take a look.

Cheers

motorwatchercounter
12-16-2004, 10:02 PM
Hi Geekgirl,

Have you Norton AV? It looks like there is some generated code in there mixed with the statcounter code.

geekgirl
12-16-2004, 11:13 PM
yes I am running NAV.

There does seem to be a lot of extra code in there.

Mmmmmm..........

motorwatchercounter
12-16-2004, 11:22 PM
Hi Geekgirl,

When you view source, cut & paste Norton adds code after the </html> tag. It looks like you copied this. cut out all the code from the start of the statcounter leaving the normal </body> and </html> tags. get you statcounter code again from tools in the stats page and dump it back in before the </body> tag.

geekgirl
12-17-2004, 11:00 AM
Hi,
All of the code that is appearing after my </html> is being added after I have uploaded it. It isn't there on my local version.

I generated my statcounter code again, inserted it, reuploaded it, and no difference.

Very strange.

Thanks so much for your time, much appreciated.

webado
12-17-2004, 01:30 PM
What are you guys talking about? What code after </html> ? I don't see any! :? Unless you're not referring to geekgirl's homepage but some other site that I missed. :?:

Arne
12-17-2004, 02:19 PM
What are you guys talking about? What code after </html> ? I don't see any! :? Unless you're not referring to geekgirl's homepage but some other site that I missed. :?:

I don't see anything either, and I have Norton AV on my PC. It would be interesting to the code and what it looks like, if geekgirl could paste it here. Since it's known that the ZonAlarm firewall also can generate code it can be possible that also some FW can do it, if they are configured to block some sort of code on a website.

geekgirl
12-17-2004, 03:16 PM
Hi,
Here is the code that is appearing after my </html> it is only being added after I have uploaded the page.

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



Thanks for looking at it.

cheers Alison.

geekgirl
12-17-2004, 03:32 PM
Hi all, got it working again now. I used a different statcounter code to the one I was using. Seems to like it better.

The extra code is still there, I am wondering if it is the code from the windows security as a little message comes up saying it is blocking content. Although I don't have any content on their that should make this appear, I am just guessing this so I am probably completely wrong.

So if anyone knows why that little bit of extra code is being generated it would be nice to know.

Cheers Alison.

webado
12-17-2004, 03:38 PM
This code would be displayed only on your pc and others using Symantec products (maybe firewall). This is why I don't see it. It's nto aprt of the web page, it only gets tacked on by your own browser under instructions from Symantec (Norton stuff).

You are getting the privacy warning because your security & privacy settings are set to block various sites, probably Statcounter is among them. You should check the privacy settings in IE plus snoop around your Norton settings to make sure you enable Statcounter fully. Maybe it doesn't like that it sets cookies, for instance.

geekgirl
12-17-2004, 03:43 PM
Thanks I will do that. Thanks to all.

Alison.

motorwatchercounter
12-17-2004, 04:58 PM
Hi all,

Norton AV dumps this code after the </html> tag if you copy code from the web or view source. It is easy to copy and paste this into an editor and then wonder why things don't work.

Glad all is working now. :lol:

Arne
12-17-2004, 07:57 PM
This code would be displayed only on your pc and others using Symantec products (maybe firewall). This is why I don't see it. It's nto aprt of the web page, it only gets tacked on by your own browser under instructions from Symantec (Norton stuff).

I belive you are right about this. It's probably the Norton (Symantec) Firewall and the settings in it to block popup's. For some reason the firewall belives that most Javascript is to launch popup's :?

To geekgirl, try to disable the popup settings in the firewall and see if the script disapears. You can use other software to block the popup's, like the Mozilla browser :wink: