はてダで Google の +1
- 設定ツール からコードを取得してください
- URL to +1 にボタンを設置する個別記事のURLを指定します
- 省略すると document.referrer を使うのでトップページから押したときに、個別記事の +1 にならないので注意
- 本当ははてなスターのとなりに置きたかった
- カスタマイズとかいいから、上のと同じのを使いたい人は以下をダイアリーの本文に書けばいけます
- URL to +1 にボタンを設置する個別記事のURLを指定します
<script src="http://www.gmodules.com/ig/ifr?url=http://ido.nu/ayaya/%2B1/gadget.xml&up_count=true&up_href=&up_size=standard&synd=open&w=106&h=40&title=google_%2B1_button&border=%23ffffff%7C3px%2C1px+solid+%23999999&output=js"></script>
table.gadget { margin: 0 10px !important; } table.gadget tr:nth-child(1), table.gadget tr:nth-child(2), table.gadget tr:nth-child(4) { display: none; } table.gadget a, table.gadget span { display: none; } table.gadget * { border: none !important; }