Despite what you may have heard, the interwebs is not a good source of porn. And your browser is not the tool to get it.
Usenet, on the other hand, has more porn than you can shake a stick at. Definitely more than you can ever watch... there's only so much time in the day, and you can download it faster than you can view it.
Keeping your machine virus free really comes down to a few simple steps.
1. Don't use the most popular browser. Use Firefox / Opera / *anything* else. Most of the bad shit out there is written to take advantage of the browser that most people are using.
2. Don't read emails, and don't click links in emails, from people you don't know. Examine links before clicking them. In a pinch, delete it rather than click it. Sure, you may miss some terribly funny video on the internet. Oh well, at least your computer will still let you access your bank account without sending your password to another Russian hacker group.
3. Virus scan anything that you download. If you run Firefox, it will do this for you automatically.
4. Anything that asks you to install something special is not to be trusted. Admittedly, some of these are geniune, but without the expertise to tell the difference, just say no. Something wants to install a video codec? No thanks, just watch a different vid. Something wants to install a special internet program? No thanks, just find whatever you want elsewhere. Something wants to download digital rights to view / listen to a file? No thanks, go find another copy without the stupid DRM embedded.
5. Keep your important information backed up. A 4G memory stick doesn't cost more than a few $$$ these days, and the vast majority of people can put all their important information on one. If your computer gets pasted, reformat it and to hell with the virus. It's usually faster anyway.
I run a lot of machines... a bunch at the office, plus another 6 at home, and I haven't caught anything in 20+ years following these rules.
PS: I watch a lot of porn, too.