Forum Moderators: martinibuster

Message Too Old, No Replies

Javascript Errors

Recently a lot

         

blue_eagle

7:24 pm on Sep 4, 2004 (gmt 0)

10+ Year Member



I dont know if anyone here has noticed this but recently i am getting a lot javascript errors. Before I used to get 1 out of maybe 100 but now it changed to nearly 10 15 out of 100.. I am afreaid that my visitors see that too :(

Anyone here has any comments about this issue?

Thanks

jouwpagina

10:44 am on Sep 5, 2004 (gmt 0)

10+ Year Member



I think that's because of the collapsed ad. You NEED to put the adsense script on the same domain or subdomain as the page the ad is placed on. Even www.domain.com or domani.com make a difference. That's very irritating, imo. I used this:


google_alternate_ad_url = "http://<?=getenv("HTTP_HOST")?>/google_adsense_script.htm";

ari11210

5:03 am on Sep 6, 2004 (gmt 0)

10+ Year Member



Is that true? Google cant be expecting everyone to be using PHP, etc. I cant believe that if you put www.example.com, it wouldnt also work on example.com (without www). I am doing that on my site and I dont see any javascript errors. Does anyone know for sure?

Thanks