For the past few weeks I have noticed that several websites will hang while opening in Firefox 3.5 and the status page will display:
Contacting ssl.google-analytics.com…
This can go on for a few seconds- causing tabs to freeze until a response is obtained. I did a quick search and found a fix by adding the following to the c:\windows\system32\drivers\etc\hosts file:
# [Google Inc]
127.0.0.1 www.google-analytics.com
127.0.0.1 ssl.google-analytics.com
In addition, a few other host file tweaks can cut down on the advertisements from Google in other web sites:
127.0.0.1 adwords.google.com
127.0.0.1 pagead.googlesyndication.com
127.0.0.1 pagead2.googlesyndication.com
127.0.0.1 adservices.google.com
127.0.0.1 imageads.googleadservices.com
127.0.0.1 imageads1.googleadservices.com
127.0.0.1 www.googleadservices.com
127.0.0.1 apps5.oingo.com
There are multiple ways of blocking GA. For example the AdBlock (or AdBlockPlus) Firefox extension or a Greasemonkey script will work like a charm. And they also help you improve your browsing experience by removing other web content.
ReplyDelete