Hello, everyone.

I'd like to make my own custom IE toolbar that would analyze the URL and the HTML of the Web pages and (say) display an alert if the page contains some harmful content. I've figured out how to create the toolbar and attach it to IE. I can obtain the Explorer window handle and extract the URL from the address ComboBox, but what about the page HTML? Does Internet Explorer provide some API for getting it? And how do I hook my function so that it gets called whenever a page is loaded?

Any help would be highly appreciated.