Chrome does this and a lot more with extensions. I assume Firefox would too since its extensions are even better. Unless you meant out of the box.
Yes it does, but I don't like Chrome and it's not a good experience on my 2011 MBA i7 with external display. I only use one extension (1Password) and I don't like adblockers. I also don't have Adobe Flash installed. Safari is blazing fast in comparison to Chrome. Chrome is almost unusable without Ad- and Flashblocker. And scrolling is a mess. And yes, Firefox extensions are better, but Firefox is just no match for Safaris current speed and usability. There have been other times but in its current state nothing comes close - in my opinion (and use case)!