Прикрепить событие click () к кнопке Google Plus?
Я хотел бы добавить на страницу предупреждающее сообщение, когда пользователь нажимает кнопку «g +». Как я могу достичь этого?
вот код:
<g:plusone href="http://test.com//" annotation="inline" width="300"></g:plusone>
<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>