Skip to content

Instantly share code, notes, and snippets.

@gonzaloserrano
Created May 31, 2012 07:25
Show Gist options
  • Save gonzaloserrano/2841660 to your computer and use it in GitHub Desktop.
Save gonzaloserrano/2841660 to your computer and use it in GitHub Desktop.
bookmarklet for "hide retweets and replies in twitter"
javascript:(function(e,a,g,h,f,c,b,d)%7Bif(!(f=e.jQuery)%7C%7Cg%3Ef.fn.jquery%7C%7Ch(f))%7Bc=a.createElement(%22script%22);c.type=%22text/javascript%22;c.src=%22http://ajax.googleapis.com/ajax/libs/jquery/%22+g+%22/jquery.min.js%22;c.onload=c.onreadystatechange=function()%7Bif(!b&&(!(d=this.readyState)%7C%7Cd==%22loaded%22%7C%7Cd==%22complete%22))%7Bh((f=e.jQuery).noConflict(1),b=1);f(c).remove()%7D%7D;a.documentElement.childNodes%5B0%5D.appendChild(c)%7D%7D)(window,document,%221.3.2%22,function($,L)%7B$('.twitter-atreply').parents('.stream-item').fadeTo(0,%20.5);%20$('div%5Bdata-retweet-id%5D').parent().fadeTo(0,%20.5);%7D);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment