StatCounter User Forum  
StatCounter Free web tracker and counter

Go Back   StatCounter User Forum > StatCounter.com > Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 12-31-2005, 07:51 PM
stone stone is offline
Member
 
Join Date: Aug 2005
Posts: 51
Default statcounter on freewwebs.com

http://www.statcounter.com/help/getting_started/

Information about freewebs is incorrect. my site at:
http://www.freewebs.com/stonethegardener/
Has never had a problem with the stat counter code.
__________________
stonethegardener.com
Reply With Quote
  #2  
Old 12-31-2005, 08:00 PM
webado's Avatar
webado webado is offline
Moderator
 
Join Date: Apr 2004
Location: Montreal, Quebec, Canada
Posts: 28,145
Default

Possibly it was correct at the time that guide was written.

I am wondering though why I had some problem accessing your page and in particualr closing the browser - somehing saying the site is acccessing somethting it has no control over

Have I just got myself invaded by something nasty?
__________________
Christina
>>Forum Moderator<<

Please do not PM me for support. The forum is here for that.
Reply With Quote
  #3  
Old 12-31-2005, 08:12 PM
webado's Avatar
webado webado is offline
Moderator
 
Join Date: Apr 2004
Location: Montreal, Quebec, Canada
Posts: 28,145
Default

Yes indeed!

Freewebs seems to tack on a spyware script that gets picked up by security watchdogs both in IE ad Firefox.

In particular something nasty sounding comes up in conjunction with Tribafusion - worse than previous simple warnings I used to get.

Yet I see no ads on teh site itself. Just a js script in being included from a higher level, with the source named 1.js :


[html]
function k4() {
f=document.getElementsByTagName("form");
s='Sorry, this FreeWebs account is still provisional and forms are not permitted. \nFreeWebs accounts are provisional for the first 7 days.';
for(var i=0;i<f.length;i++) {
if (f[i].action!='http://members.freewebs.com/guestbookA.jsp'
&& f[i].action!='http://members.freewebs.com/guestbook.jsp'
&& f[i].action!='http://polls.freewebs.com/Members/Polls/vote.jsp'){
f[i].setAttribute("action","javascript:alert(s);");
f[i].onsubmit=function() {
alert(s);
return false;
};
}
}
}

function fw_i() {
var np=0;
var al=-1;
var prov=0;

if(xmlp.readyState==4) {
if(xmlp.status==200) {
if (xmlp.responseText.indexOf("Not Found")<0){
eval(xmlp.responseText);
if(np==1 && al==2) {
window.status='This site is hosted for free at Freewebs.com.';
}
if (prov==1){
window.setInterval("k4()",1000);
k4();
}
}
}
}
}

function loadText() {
var a,b;
if (navigator.userAgent.indexOf('MSIE 5.0')>0) return;
if (navigator.userAgent.indexOf('MSIE 4.0')>0) return;
if (document.getElementById){
eval("try { xmlp = new XMLHttpRequest();} catch (e) { xmlp = new ActiveXObject('Msxml2.XMLHTTP');} try { netscape.security.PrivilegeManager.enablePrivilege ('UniversalBrowserRead'); } catch (e) { }");
}
if (xmlp==null) return;
if(document.all) {
xmlp.open("GET",'.i',true);
xmlp.onreadystatechange = fw_i;
xmlp.send(null);
} else {
xmlp.open("GET",'.i',true);
xmlp.onreadystatechange = fw_i;
xmlp.send(null);
}
}
loadText();
[/html]


I don't know yet what this does, but it sems to have been up to no good.
__________________
Christina
>>Forum Moderator<<

Please do not PM me for support. The forum is here for that.
Reply With Quote
  #4  
Old 01-01-2006, 12:42 AM
stone stone is offline
Member
 
Join Date: Aug 2005
Posts: 51
Default

Where do you find the above code?

I don't see any of it in my computer.

Is my fire wall blocking it out?

Provisional account?
__________________
stonethegardener.com
Reply With Quote
  #5  
Old 01-01-2006, 01:36 AM
webado's Avatar
webado webado is offline
Moderator
 
Join Date: Apr 2004
Location: Montreal, Quebec, Canada
Posts: 28,145
Default

First as soon as I access your site I get this warning as shown in the image below:



So I proceeded to investigate where that may come from.

I found a javascript that is being included on your page, possibly by your webhosting, at the bottom of your page in the source code:
[html]
<script type="text/javascript" src="/i.js"></script></body>


</html>
[/html]

So I went to see what the script was all about. The url for the script is: http://www.freewebs.com/i.js

I posted the contents of that script in my previous post.
__________________
Christina
>>Forum Moderator<<

Please do not PM me for support. The forum is here for that.
Reply With Quote
  #6  
Old 01-01-2006, 01:52 AM
stone stone is offline
Member
 
Join Date: Aug 2005
Posts: 51
Default

Thanks Chris....

I never knew....

If there was some way for me to put in a permanent redirect for the freewebs pages, they would all be at the new hosting. I very much dislike giving up the page rank I have at freewebs while I still have none at new site.

Any ideas?
__________________
stonethegardener.com
Reply With Quote
  #7  
Old 01-01-2006, 02:01 AM
webado's Avatar
webado webado is offline
Moderator
 
Join Date: Apr 2004
Location: Montreal, Quebec, Canada
Posts: 28,145
Default

If Freewebs allow an .htaccess file, you can redirect that way. In time Google updates its index with the new location.

You can also use a meta refresh to redirect to a new location, however this won't help Google and other search engines.

One thing is certain, maintainig 2 sites with the same content will draw penalties from Google. Redirection by any means is better.
__________________
Christina
>>Forum Moderator<<

Please do not PM me for support. The forum is here for that.

Last edited by webado; 01-01-2006 at 02:07 AM.
Reply With Quote
  #8  
Old 01-01-2006, 02:54 AM
stone stone is offline
Member
 
Join Date: Aug 2005
Posts: 51
Default

I've named files .htaccess...Doesn't work.

I have both sites on the same navigation bar...not duplicate content.

I'd hoped by tying the two together with the same style across 3 domains to get instant pr on the new site...Hasn't happened.

Yeah, I know that the search engines would pick up the pages soon after moving them...I'd still lose the pr by using meta refresh.

So...I still have content at freewebs.com.
__________________
stonethegardener.com
Reply With Quote
  #9  
Old 10-20-2006, 05:11 AM
cairo0831 cairo0831 is offline
Junior Member
 
Join Date: Oct 2006
Posts: 6
Default

I have a similar problem, please help
Reply With Quote
  #10  
Old 03-22-2007, 11:48 PM
rickythedale rickythedale is offline
Junior Member
 
Join Date: Mar 2007
Posts: 1
Default remove script

If you'd like to disable, change the base url of the page.

Add this to the HTML:
<head>
<base href="http://www.freewebs.com" />
</head>


Make your images directly linked.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:58 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.