Well, this is my unfinished project. IE addon which wanted to be a GreaseMonkey for IE.
If you are looking for something similar, give IE7Pro a try.
Feel free to pick bits of this if you want to dig in IE internals and kinky COM stuff. But beware of ATL/WTL fever and ActiveScript madness.
- IE Tabs/Frames manager = it tracks a tree of IHTMLDocument2 for open tabs and their frames - insanely hard to do correctly and keep it consistent during browser refreshes
- Some GUI tricks = showing WTL/ATL/COM and GUI threading tricks under IE