Skip to content

Instantly share code, notes, and snippets.

@edvakf
Created March 15, 2009 23:29
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 edvakf/79584 to your computer and use it in GitHub Desktop.
Save edvakf/79584 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name LDR_hateb_count.user.js
// @namespace http://atsushi-takayama.com/
// @include http://reader.livedoor.com/reader/
// @include http://fastladder.com/reader/
// ==/UserScript==
(function(win){
win.ItemFormatter.TMPL.tmpl = win.ItemFormatter.TMPL.tmpl.replace(/(<span id="pin)/, '<a href="http://b.hatena.ne.jp/entry/[[ item ]]" style="height:18px;margin-right:4px;float:left;"><img alt="" border="0" src="http://b.hatena.ne.jp/entry/image/[[ link ]]"></a>\n$1');
})(this.unsafeWindow || window)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment