Monday, March 8, 2010

[How to] Filter out tweets about trending topics!

Twitter keeps you informed with what matters the most to you today and helps you discover what might matter to you the most tomorrow. Twitter is a nice way to catch up with latest happenings which will eventually become the trending topics. But, at times, you might get bombarded with tweets (all of which carry the  similar message) about these trending topics from different people and might have to miss some important ones. Today I was bombarded with tweets about Oscars, Women’s day wishes, etc. It was no different when Sachin scored the first ever ODI double ton. Unfortunately, Twitter does not provide any option to selectively hide the tweets i.e. hide / filter out the tweets that you are not interested on your time line. I have logged a ticket with Twitter requesting for the same. In the mean time, I have written a GreaseMonkey script and a Firefox add-on to do the same. Just a raw implementation. This will work only with the Twitter web interface.Selective HideFirefox add-on

  • Get the plug-in from here. (.xpi file)
  • Open Tools –> Add-ons. Drag-drop the downloaded .xpi file onto the list of already installed add-ons.
  • You are all done!!

GreaseMonkey Script

A text box will appear below the menu options where in you can provide the exclude filter (Ex: #Oscars). The filter is case-sensitive and you can provide multiple filters by separating them with comma. Provide an empty string to clear the filter. *Again, this is just a raw implementation*. I had built this add-on today on request from Vivek. It can be made more clean and feature complete. If you are interested in contributing to this plug-in, please contact me.

-- Varun

2 comments:

  1. First off, let me say that your script provides a much-needed feature to the Twitter interface. I hate all the Foursquare bombs and contest RTs and such I get on my timeline from otherwise sane and rational folk.

    That being said, I can't get the script to work for me. I'm running Windows XP and the latest version of Chrome. The script is installed and properly displays a box for entering filters and a button that says "Refresh" - however, clicking the button does nothing.

    Any thoughts?

    ReplyDelete
  2. Thanks Chris.

    Please take the latest version of the script from http://userscripts.org/scripts/show/71409

    Haven't tested the script on Chrome. It works fine with Firefox.

    ReplyDelete