If you don't want to get hacked by visiting a website, use cURL (actually, I think it had a few security bugs, so...)
The difference is that websites have rep, and google polices sites with malware protection (which firefox uses too, btw).
What about ads?