Skip to content

Instantly share code, notes, and snippets.

@cho45
Created February 1, 2009 10:25
Show Gist options
  • Select an option

  • Save cho45/55842 to your computer and use it in GitHub Desktop.

Select an option

Save cho45/55842 to your computer and use it in GitHub Desktop.
// ==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