Belstat counter doesn't work

ventilatorr

New Member
Messages
4
Reaction score
0
Points
0
Hello,

I've made a simple site and I want to add a user counter. I registered on belstat.nl and added their code to my site.

When I visit my site the counter icon doesn't show up. It does show up when I open the index.html from my desktop but not when visited on bier.mijnbal.x10.mx

Here's the HTML code.
<html>

<title> gratis bier </title>

<BODY BGCOLOR="#99CC00">
<!-- Start of belstat.nl Counter -->

<script type="text/javascript">
<!--
d=document;
pag="";col="";scr=0;b=navigator.appName;
scr=screen.width+"*"+screen.height;
ref=parent==self ? escape(window.document.referrer) : escape(top.document.referrer);
pag=escape(d.URL);
if (b != "Netscape") {col=screen.colorDepth}
else {col=screen.pixelDepth}
if(col=="undefined"){col="";}
d.write("<a href=http://www.belstat.nl/viewstat.asp?UserID=ventilatorr&" + "amp;" + "lang=nl target=_blank><img border=0 src=\"http://www.belstat.nl/regstat.aspx?");
d.write("UserID=ventilatorr&BColor=lightgreen&refer=" + ref + "&pag=" + pag + "&b=" + b + "&col=" + col + "&scr=" + scr);
d.write("\" align=center width=16 height=16 alt=\"Monitored*by*BelStat*-*Your*Site*Counts\"><\/a>");
// -->
</script>
<!-- End of belstat.nl Counter -->

<b><BR> <BR> <BR> <FONT COLOR="yellow"> <FONT SIZE="+6"> <center> <tt> Het gratis bier voor vandaag is op, <BR> kom morgen terug. <BR><BR> <BR> <BR> <BR></FONT> <FONT SIZE="+4"> Voor meer informatie over de nieuwe lading SMS BIER naar:<BR>06 8166 6069. </tt> <b></FONT></font> </center>

</body>

</html>
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Small green bar graph icon in the upper left hand corner? A link to the stats site?

I see it.
 

ventilatorr

New Member
Messages
4
Reaction score
0
Points
0
On the online version? I can only see it when I load the file from my PC. I tried Opera and IE.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Online version /taart/
IE8, Firefox & Chrome

So, where's the free beer?
 

ventilatorr

New Member
Messages
4
Reaction score
0
Points
0
I found out what's the problem. the .tk link doesn't show the counter, the direct link does.

What can I do? it should be the same site.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
ref=parent==self ? escape(window.document.referrer) : escape(top.document.referrer);

when run in frames, you are trying to access top.document which is illegal since the parent is from a different domain than the frame. (run the page in FireFox and look at the ErrorConsole and you will see the error recorded).

Generally, using frames for redirects is not a good idea. Just move the .tk domain to where the content is hosted.
 
Top