Firefox用検索プラグインを1クリックで導入可能なWebページを用意しました
約一年前の日記で公開させて頂きましたFirefox用バキュラ検索プラグインを1クリックでFirefoxへ導入可能なWebページを作成してみました。
http://hnamaizawa.googlepages.com/Firefox_Search_PrugIn.html
実際のWebページのソースは以下のような感じです。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body> <script type="text/javascript"> <!-- function installSherlock(iconURL) { if (typeof window.sidebar == "object" && typeof window.sidebar.addSearchEngine == "function") { if (!iconURL) return true; window.sidebar.addSearchEngine(iconURL.slice(0, -4) + ".src", iconURL, null, null); } else { alert("この検索エンジンをインストールするには Firefox をご利用ください。"); } return false; } function installOpenSearch(engineURL) { if (typeof window.external == "object" && typeof window.external.AddSearchProvider == "function") { if (!engineURL) return true; window.external.AddSearchProvider(engineURL); } else { alert("この検索エンジンをインストールするには Firefox をご利用ください。"); } return false; } //--> </script> <br> <div> <ul> <li><a href="http://d.hatena.ne.jp/hnamaizawa/" onclick="return installOpenSearch('http://hnamaizawa.googlepages.com/hnamaizawa-search.xml');">バキュラのように・・・ 検索プラグインを追加する</a></span></li> <li><a href="http://hnamaizawa.blogspot.com/" onclick="return installOpenSearch('http://hnamaizawa.googlepages.com/awake-search.xml');">Awake 検索プラグインを追加する</a></span></li> <li><a href="http://hnamaizawa.ning.com/" onclick="return installOpenSearch('http://hnamaizawa.googlepages.com/ning-search.xml');">Like a Bacura... 検索プラグインを追加する</a></span></li> </ul> </div> </body> </html>