Google PlusOne Button has errors on Chrome

☆樱花仙子☆ 提交于 2019-11-30 12:04:42

问题


Google PlusOne has errors on Chrome:

Uncaught ReferenceError: iframes is not defined fastbutton:19
Uncaught ReferenceError: iframes is not defined fastbutton:19
Uncaught TypeError: Cannot read property 'plusones' of undefined (program):66
Uncaught TypeError: Object #<Object> has no method 'hefn' fastbutton:16

the [not-so-]funny part is that it works on IE and on FireFox.

I should also add that it was working for a while properly and I only see these errors now. not sure what has changed.

any ideas? TIA

p.s. I also have jQuery and a bare bone Modernizr on that page.


回答1:


It's possible that you have 3rd party cookies blocked. To test this on my Chrome (Version 26.0.1410.43) I added exceptions for :-

  • apis.google.com
  • plusone.google.com
  • clients6.google.com
  • gstatic.com

After that the +1 button worked for me.

Regards,

Dan



来源:https://stackoverflow.com/questions/15214781/google-plusone-button-has-errors-on-chrome

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!