Hatena Diary @Anywhere bookmarklet
by
Cherenkov
2010-05-29 [2010/05/29 02:48:43]
my bookmarklet
@@ -7,7 +7,9 @@
* @private
*/
twttr.anywhere(function (T) {
- T("#tbox").tweetBox({
+ T('#follow-twitterapi').followButton("twitterapi");
+
+ T("#entry_tbox").tweetBox({
height: 100,
width: 400,
defaultContent: ".@cherenkov へ一言。"
/*
* @title Hatena Diary @Anywhere bookmarklet
* @description my bookmarklet
* @include http://d.hatena.ne.jp/*
* @license MIT License
* @require
* @private
*/
twttr.anywhere(function (T) {
T('#follow-twitterapi').followButton("twitterapi");
T("#entry_tbox").tweetBox({
height: 100,
width: 400,
defaultContent: ".@cherenkov へ一言。"
});
});
- Permalink
- このページへの個別リンクです。
- RAW
- 書かれたコードへの直接のリンクです。
- Packed
- 文字列が圧縮された書かれたコードへのリンクです。
- Userscript
- Greasemonkey 等で利用する場合の .user.js へのリンクです。
- Loader
- @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
- Metadata
- コード中にコメントで @xxx と書かれたメタデータの JSON です。