I don't know of any program or extension that does that, but it is fairly easy to write a userscript that will do the job.