This exactly. It's more like a firewall for your browser. Because web browsers are incredibly crap software that's pretty completely ignored privacy and filtering along their development and it's being slowly patched on in tiny kludges and extensions instead of being set in policy from the start.
Of course spam and malware is a hard problem in web browsers. It's been a hard problem everywhere else, too.