Skip to content

Instantly share code, notes, and snippets.

@azu
Created August 7, 2009 13:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save azu/163886 to your computer and use it in GitHub Desktop.
Save azu/163886 to your computer and use it in GitHub Desktop.
// ==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