Skip to content

Instantly share code, notes, and snippets.

@mooz
Created January 15, 2010 15:48
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 mooz/278144 to your computer and use it in GitHub Desktop.
Save mooz/278144 to your computer and use it in GitHub Desktop.
ext.add("hatena-bookmark-popular-entries", function () {
let head = (content.location.href.match("([a-z]+://[^/]+)/?") || {0:null})[0];
if (head)
openUILinkIn("http://b.hatena.ne.jp/entrylist?sort=count&url=" + encodeURIComponent(head), "tab");
}, "このサイトのはてなブックマーク人気エントリーを一覧表示");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment