@Bri_L , I don’t hate Macs, I just like to tease Mac users. Point of fact: Mac OS X is just gooey candy over a Unix core. I wish every computer ran Unix. The Microsoft NT kernel isn’t at all bad, but the crap they pile on top of it fills me with rage. It fills everyone with rage, though, and that’s why I have a job.
Anyway, your Mac has a file called /etc/hosts that does the same thing. There are various lists of obnoxious URLs you can get to populate your hosts file, or you can do it piecemeal.