--- title: Window.sidebar slug: Web/API/Window/sidebar tags: - DOM - NeedsTranslation - Non-standard - Property - Reference - TopicStub - Window translation_of: Web/API/Window/sidebar ---
Returns a sidebar object, which contains several methods for registering add-ons with the browser.
The sidebar object returned has the following methods:
Method | Description (SeaMonkey) | Description (Firefox) |
---|---|---|
addPanel(title, contentURL, "") |
Adds a sidebar panel. | Obsolete since Firefox 23 (only present in SeaMonkey). End users can use the "load this bookmark in the sidebar" option instead. Also see Creating a Firefox sidebar. |
addPersistentPanel(title, contentURL, "") |
Adds a sidebar panel, which is able to work in the background. | |
AddSearchProvider(descriptionURL) |
Installs a search provider (OpenSearch). Adding OpenSearch search engines contains more details. Added in Firefox 2. | |
addSearchEngine(engineURL, iconURL, suggestedTitle, suggestedCategory) {{Obsolete_inline(44)}} |
Installs a search engine (Sherlock). Adding Sherlock search engines contains more details. | |
IsSearchProviderInstalled(descriptionURL) |
Indicates if a specific search provider (OpenSearch) is installed. |
Mozilla-specific. Not part of any standard.