Skip to content

Instantly share code, notes, and snippets.

@jeregrine
Created September 7, 2010 00:50
Show Gist options
  • Select an option

  • Save jeregrine/567708 to your computer and use it in GitHub Desktop.

Select an option

Save jeregrine/567708 to your computer and use it in GitHub Desktop.
$("ol.statuses [id ^= direct_message]").each(function (index, item) {
$.post("http://twitter.com/direct_messages/destroy/" + $(item).attr("id").split("_")[2]);
$(item).hide()
});
@jeregrine
Copy link
Author

javascript:$("ol.statuses [id ^= direct_message]").each(function (index, item){$.post("http://twitter.com/direct_messages/destroy/"+$(item).attr("id").split("_")[2])});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment