Browser Helper Object: Difference between revisions

Content deleted Content added
No edit summary
Tags: Reverted section blanking Mobile edit Mobile web edit
m Reverted edits by 101.109.37.155 (talk) to last version by X201
Line 5:
 
BHOs are still supported as of Windows 10, through [[Internet Explorer 11]], while BHOs are not supported in [[Microsoft Edge]].
 
== Implementation ==
Each time a new instance of Internet Explorer starts, it checks the [[Windows Registry]] for the key ''HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects''. If Internet Explorer finds this key in the registry, it looks for a [[Universally unique identifier#In COM|CLSID]] key listed below the key. The CLSID keys under Browser Helper Objects tell the browser which BHOs to load. Removing the registry key prevents the BHO from being loaded. For each CLSID that is listed below the BHO key, Internet Explorer calls CoCreateInstance to start the instance of the BHO in the same process space as the browser. If the BHO is started and implements the IObjectWithSite interface, it can control and receive events from Internet Explorer. BHOs can be created in any language that supports [[Component Object Model|COM]].<ref>Roberts Scott, ''Programming Microsoft Internet Explorer 5'', Microsoft Press, 1999, {{ISBN|0-7356-0781-8}}</ref>
 
== Examples ==
Some modules enable the display of different file formats not ordinarily interpretable by the browser. The [[Adobe Acrobat]] plug-in that allows Internet Explorer users to read [[Portable Document Format|PDF]] files within their browser is a BHO.
 
Other modules add toolbars to Internet Explorer, such as the [[Alexa Toolbar]] that provides a list of web sites related to the one you are currently browsing, or the [[Google Toolbar]] that adds a toolbar with a Google search box to the browser [[user interface]].
 
The Conduit toolbars are based on a BHO that can be used on [[Internet Explorer 7]] and up. This BHO provides a search facility that connects to [[Microsoft]]'s [[Bing (search engine)|Bing]] search.
 
== Concerns ==
Line 15 ⟶ 25:
In response to the problems associated with BHOs and similar extensions to Internet Explorer, Microsoft debuted an ''Add-on Manager'' in [[Internet Explorer 6]] with the release of [[Windows XP#Service Pack 2|Service Pack 2]] for [[Windows XP]] (updating it to IE6 Security Version 1, a.k.a. SP2). This utility displays a list of all installed BHOs, [[browser extension]]s and [[ActiveX control]]s, and allows the user to enable or disable them at will. There are also free tools (such as BHODemon) that list installed BHOs and allow the user to disable malicious extensions. [[Spybot – Search & Destroy|Spybot S&D]] advanced mode has a similar tool built in to allow the user to disable installed BHOs.
 
== See also ==
Financial
*[[Browser extension]]
*[[Plug-in (computing)]]
*[[HTML Components]]
*[[Add-on (Mozilla)]]
*[[Google Chrome Extensions]]
 
== References ==
<references/>
 
== External links ==
*[https://sites.google.com/site/bhosearch/ Sites.google.com]
 
=== Microsoft sites ===
*[http://support.microsoft.com/default.aspx?scid=kb%3BEN-US%3Bq179230 ''IEHelper-Attaching to Internet Explorer 4.0 by Using a Browser Helper Object'']
*[https://web.archive.org/web/20050109091250/http://www.microsoft.com/windowsxp/using/web/sp2_addonmanager.mspx Control Internet Explorer Add-ons with Add-on Manager]{{snd}}an article on Microsoft.com that explains this new feature of Windows XP Service Pack 2
*[http://msdn2.microsoft.com/en-us/library/bb250489.aspx Building Browser Helper Objects with Visual Studio 2005]{{snd}}an October 2006 MSDN article by Tony Schreiner and John Sudds
 
=== Listings and examples ===
*[http://www.systemlookup.com/lists.php?list=1 CLSID List]{{snd}}master list created by Tony Kleinkramer, which attempts to record and identify every BHO available (previously located at{{snd}}the now defunct{{snd}}[[CastleCops|castlecops.com]]){{snd}}also includes Toolbar, Explorer Bar and URLSearchHook GUIDs
*[http://www.adp-gmbh.ch/win/com/bho.html C++ example code for a BHO]
*[http://www.codeproject.com/Articles/19971/How-to-attach-to-Browser-Helper-Object-BHO-with-C C# example code for a BHO]
 
{{Microsoft APIs}}
{{Internet Explorer}}
{{Web interfaces}}
 
[[Category:Internet Explorer]]