Skip to content

Instantly share code, notes, and snippets.

@Sangdol
Created June 10, 2012 06:12
Show Gist options
  • Save Sangdol/2904099 to your computer and use it in GitHub Desktop.
Save Sangdol/2904099 to your computer and use it in GitHub Desktop.
Mentionless - Twitter bookmarklet
(function() {
if (location.host != 'twitter.com')
return;
var hide = function() {
$('.stream-item').has('.twitter-atreply').hide();
};
hide();
$(document).ajaxSuccess(function() {
// Run hide method after tweets are displayed
setTimeout(hide, 100);
});
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment