Search code examples
javascriptgoogle-plus-one

Google +1 button causes x-domain JS error in Chrome


I followed the steps exactly on Google PlusOne page and I got an error message like this in Chrome console:

Unsafe JavaScript attempt to access frame with URL xx with URL xx Domains, protocols and ports must match.

However, it works in FF, even IE9. Ironic?


Solution

  • The same problems comes with their AdSense javascript. You have no chance to fix this without their help, and you can't do anything at all with it