I noticed this error when adding google adsense code to one of my sites. I thought it was just happening on my new site, until I checked my other sites and realized it was happening everywhere! I had no idea how long this had been going on for, but wanted to get it fixed ASAP.
I scoured the web and researched the hell out of it. Here are the facts:
- It has happened to lots of people. There are numerous posts on google’s message boards (Ex: http://www.google.com/support/forum/p/AdSense/thread?tid=18890327279dad00&hl=en). Google has not acknowledged it or proposed a fix.
- It happens only on Chrome and Safari browsers. Internet Explorer and Firefox are immune to it. I have not tested specific versions, just the most recent release of each.
- Sometimes it is accompanied with an additional error “Unsafe JavaScript attempt to access frame with URL [URL] from frame with URL http://googleads.g.doubleclick.net/pagead/ads?… Domains, protocols and ports must match.”
- No adsense users have found a reliable fix.
- I tried putting the adsense code on a blank page, wondering if my own html or javascript code was conflicting with it. The warnings still popped up.
- I tried from a different computer, to see if it was isolated to my environment. Same problem.
- I located another website that had adsense on it. Their site was giving me the same errors.
- People have reported this as a bug in Chromium (http://code.google.com/p/chromium/issues/detail?id=61223). No solution.
- Although it does create script errors, it does not seem to affect the functionality. Ads are still displayed, and clicks are still counted.
Since I found no solution, I thought about dropping Adsense, but since the functionality is still there and it’s still providing income, I decided to wait it out. I’ll update this post when/if I find a solution. Please share your experiences in the comments, especially if you found a fix!
Leave a Reply