Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

非標準
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.

非推奨
This feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of being dropped. Do not use it in old or new projects. Pages or Web apps using it may break at any time.

概要

ブラウザにアドオンを追加するためのいくつかのメソッドを含む、sidebar オブジェクトを返します。

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

注記:三番目の空の引数は必須です!

注記

戻り値となる sidebar オブジェクトは、以下のメソッドを持ちます。

メソッド 説明
addPanel(title, contentURL, customizeURL) 廃止 Gecko 23 サイドバーパネルを追加します。 Firefox 2 以降でのサイドバーの詳細については、『Firefox のサイドバーの作成』を参照してください。
addPersistentPanel(title, contentURL, customizeURL) 廃止 Gecko 23 バックグラウンドでの動作が可能なサイドバーパネルを追加します。これは SeaMonkey 及び Firefox 1.x でのみ動作します (Firefox 2 以降では addPanel() のみで可)
addSearchEngine(engineURL, iconURL, suggestedTitle, suggestedCategory) Sherlock 検索エンジンをインストールします。詳細は、『ウェブページからの検索エンジンの追加』をご覧下さい。
addMicrosummaryGenerator(generatorURL) 廃止 Gecko 6 microsummary generator をインストールします。 Firefox 2 からの新機能です。

仕様

Mozilla 固有のプロパティです。どの標準にも属しません。

ドキュメントのタグと貢献者

タグ: 
 このページの貢献者: teoli, AshfaqHossain, kohei.yoshino, ethertank, Potappo
 最終更新者: AshfaqHossain,