Ah, I think I see the problem. Looks like the WP page mangled my code. You need to use this:
document.getElementById('header').innerHTML += '<div style="margin: auto; padding: 10px; width: 200px;"></div>';
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/platform.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
I’ve replaced each & g t ;
with >
and each & l t ;
with <
and removed some < b r / >
Excuse spaces, the code gets mangled here too.