mozilla
Your Search Results

    window.sidebar Redirect 1

    This is an experimental technology
    Because this technology's specification has not stabilized, check the compatibility table for the proper prefixes to use in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the spec changes.

    Returns a sidebar object, which contains several methods for registering add-ons with browser.

    Example

    window.sidebar.addPanel("Google", "http://www.google.com/", "");
    

    Note: the third empty parameter is required!

    Notes

    The sidebar object returned has the following methods:

    Method Description
    addPanel(title, contentURL, customizeURL) Obsolete since Gecko 23 Adds a sidebar panel. See Creating a Firefox sidebar for details on sidebars in Firefox 2 and later.
    addPersistentPanel(title, contentURL, customizeURL) Obsolete since Gecko 23 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 addPanel().
    addSearchEngine(engineURL, iconURL, suggestedTitle, suggestedCategory) Installs a search engine. See Adding search engines from web pages for details.
    addMicrosummaryGenerator(generatorURL) Obsolete since Gecko 6 Installs a microsummary generator.

    Specification

    Mozilla-specific. Not part of any standard.

    Document Tags and Contributors

    Contributors to this page: Sheppy
    Last updated by: Sheppy,
    Hide Sidebar