Прикрепить событие click () к кнопке Google Plus?
Я хочу добавить на страницу предупреждение, когда пользователь нажимаетг + кнопка. Как я могу достичь этого?
вот код:
(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);
})();