GooglePlusOne-Talk

Summary: Talk page for GooglePlusOne.
Maintainer: AndyG
Users: +2 (View / Edit)

This space is for User-contributed commentary and notes. Please include your name and a date along with your comment.

Not able to get this to work in Chrome. Made a change to it based on the current Google API, and now it works on Safari. Don't understand how it works on Safari and NOT Chrome... Changed lines to:

##  Add in JS.
SDV($HTMLHeaderFmt['googleplusone'], "<script type='text/javascript'>
  (function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'https://apis.google.com/js/plusone.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  })();
</script>");

I doubt that stopped it from working in Chrome. I'm not a JS person -- Help? XES July 16, 2013, at 10:34 AM

Talk page for the GooglePlusOne recipe (users).