I don't think going after the browser would be the most reliable way to do it. Instead, I'd go down to the firewall and get it to redirect outgoing port 80 through a program you write. It can watch the HTTP and record what it sees. I would assume this is possible on Mac, I know for sure it's possible on Linux.