twitter上にニコニコサムネ表示するグリモン直した(?)

えーと
twitterに張られたニコニコのリンクをサムネ(というかiframe)展開するぐりもん
http://d.hatena.ne.jp/noboruhi/20080128

Re: twitterに張られたニコニコのリンクをサムネ(というかiframe)展開するぐりもん
http://blog.fulltext-search.biz/articles/2008/01/29/re-mata-samune

CodeRepos
http://coderepos.org/share/browser/lang/javascript/userscripts/matasamune.user.js?

というグリモンがあるんだけど(どこにリンク張ったらいいかわからんのでとりあえずそれっぽいとこ)いつの間にやら動かんくなってたので直した(つもり)。
修正箇所はCodeReposの「2008-04-13 13:49:00 0.2.5」のバージョンを元に

19行目辺り
before

    '[contains(concat(" ",@class," "), " content ")', ' and ',

after

    '[contains(concat(" ",@class," "), " status-body ")', ' and ',

167行目辺り
before

    .matasamune .thumb-metadata 

after

    #content .hentry td.status-body div.matasamune .thumb-metadata {

176行目辺り
before

    .matasamune .thumb-body {
        margin-left: 135px;
    }

after

    #content .hentry td.status-body div.matasamune .thumb-body {
        margin-left: 135px;
        width:auto;
    }

計3行修正、1行追加。


(追記 2008/11/24 23:52)
176行目辺りのwidthを239pxからautoに変更。フレンドタイムラインと個人タイムラインの幅が違うので、個人タイムラインでの表示のとき少し詰まって見えるから)
(追記 2008/12/05 00:00)
CodeReposにコミットしたお!