This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.
Returns a sidebar object, which contains several methods for registering add-ons with browser.
window.sidebar.addPanel("Google", "http://www.google.com/", "");
Note: the third empty parameter is required!
The sidebar object returned has the following methods:
||Adds a sidebar panel. Obsolete since Firefox 23 (only present in SeaMonkey). See Creating a Firefox sidebar for details on sidebars in Firefox 2 and later.|
||Adds a sidebar panel, which is able to work in the background. This only works in SeaMonkey or Firefox 1.x; Firefox 2 and later will just do
||Installs a search provider (OpenSearch). Adding OpenSearch search engines contains more details.Added in Firefox 2.|
||Installs a search engine (Sherlock). Adding Sherlock search engines contains more details.|
||Installs a microsummary generator.|
||Indicates if a specific search provider (OpenSearch) is installed.|
Mozilla-specific. Not part of any standard.
© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.