问题
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