Skip to content

Instantly share code, notes, and snippets.

@hushin
Last active August 29, 2015 14:20
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 hushin/55eaba27e45d3e276886 to your computer and use it in GitHub Desktop.
Save hushin/55eaba27e45d3e276886 to your computer and use it in GitHub Desktop.
$(".contentBody .item").each(function(key, value) {
var $value = $(value);
var view_count = parseInt($value.find(".view > .value").text().replace(",", ""), 10);
if (view_count < 10000) {
$value.hide();
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment