Created
February 1, 2009 10:25
-
-
Save cho45/55842 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Hatena: Delayed Stars | |
| // @namespace http://lowreal.net/ | |
| // @include * | |
| // @require http://gist.github.com/3239.txt#createElementFromString | |
| // ==/UserScript== | |
| $E = createElementFromString; | |
| $E("<style type='text/css'>span.hatena-star-star-container { display: none }</style>", { parent: document.querySelector('head') }); | |
| setTimeout(function () { | |
| var eles = document.querySelectorAll("span.hatena-star-star-container"); | |
| for (var i = 0, len = eles.length; i < len; i++) { | |
| var e = eles[i]; | |
| e.style.display = "inline"; | |
| } | |
| }, 1000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment