Created
August 7, 2009 13:08
-
-
Save azu/163886 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name LDR with Tweets Count Images | |
// @namespace http://web.zgo.jp/ | |
// @include http://reader.livedoor.com/reader/ | |
// @include http://fastladder.com/reader/ | |
// ==/UserScript== | |
// http://la.ma.la/blog/diary_200610182325.htm | |
(function(){ | |
var w = (typeof unsafeWindow == 'undefined') ? window : unsafeWindow; | |
var description = "Twib Counter"; | |
w.entry_widgets.add('Tb_counter', function(feed, item){ | |
var link = item.link.replace(/#/g,'%23'); | |
return [ | |
'<a href="http://twib.jp/url/', link, '">', | |
'<img src="http://twib.jp/static/images/twitter-icon.png" border=0><img style="border:none;margin-left:3px;" ', | |
'src="http://image.twib.jp/counter/',link, '"></a>' | |
].join(''); | |
}, description); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment