Created
September 13, 2013 11:17
-
-
Save saitamanodoruji/6549415 to your computer and use it in GitHub Desktop.
Expand Hatena Stars
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== | |
// @id Expand Hatena Stars | |
// @name Expand Hatena Stars | |
// @version 1.0 | |
// @namespace http://s.hatena.ne.jp/saitamanodoruji/ | |
// @author saitamanodoruji | |
// @description はてブ上で省略されてるはてなスターを全部表示する | |
// @include http://b.hatena.ne.jp/* | |
// @run-at document-end | |
// ==/UserScript== | |
// replaceStarByProfileIcon.user.js も一緒に使うと便利 | |
// https://gist.github.com/saitamanodoruji/5726562 | |
// className 見てクリックしてるだけなので | |
// すべてのページで動かすのは危険な気がする | |
(function() { | |
document.addEventListener('DOMNodeInserted', function(e){ | |
if (e.target.className === 'hatena-star-inner-count') e.target.click(); | |
}); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment