BHO, great stuff
This is just my personal data collection, not an introductory article. It is messy and unorganized. Sorry.
An article in msdn introducing Browser Helper Objects is a great tool for customizing IE. Isearch and QQ have used this technology. It is worth studying, but this technology should not be abused. Otherwise, I am afraid to use IE.
Shield BHO:
If you do not want IE to run BHO, go to the control panel, find "Internet Options", go to the "advanced" page, and under the "Browse" bar, cancel the hook before "enable third-party browser extension" and restart IE. I did. Wow !, The whole sky is clean, and the hard disk will no longer sound when I open IE. Well, what is my attitude?
There are some requirements when creating a Browser Helper Object
• |
The application that you create must be an in-Proc server (that is, DLL ). |
• |
This dll must implement iobjectwithsite. |
• |
The iobjectwithsite: setsite () method must be implemented. it is through this method that your application has es a pointer to Internet Explorer's iunknown. (Internet Explorer actually passes a pointer to iwebbrowser2 but the implementation of setsite () es a pointer to iunknown .) you can use this iunknown pointer to automate Internet Explorer or to sink events from Internet Explorer. |
• |
It must be registered as a Browser Helper Object as described above. |
Each time an IE window is opened or a resource browser window is opened, the following information is displayed in the registry:
HKLM \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Browser Helper Objects
And load the instance.
Reference document: http://msdn.microsoft.com/ie/iedev/default.aspx
Http://support.microsoft.com/default.aspx? SCID = KB; en-US; 322178
Http://www.cnblogs.com/hbifts/articles/24265.html
Http://support.microsoft.com/kb/179230/EN-US/
Http://support.microsoft.com/default.aspx? SCID = KB; en-US; 298931
Http://www.microsoft.com/mind/0598/browhelp.asp
Http://blog.joycode.com/lostinet/archive/2005/02/27/45013.aspx