Idk how it works cuz i havent used this personally but it looks like a good script.

http://userscripts.org/scripts/show/28580

by w35l3y