Firefox検索フォームに検索履歴ボタンを追加する@Firefox 3.0

Firefox の検索欄は、検索履歴を覚えてくれ、↓を押すと履歴が出てきます。しかし他のブラウザのように検索履歴を表示するボタンがなく不便に感じたため、このボタンを追加する方法を紹介です。

Firefoxのプロファイルのchromeに移動し(Windowsの場合は%APPDATA%\Mozilla\Firefox\Profiles\{ランダム文字列}.default\chromeです)、以下のuserChrome.cssファイルをUTF-8で作成する。

@charset "utf-8";
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
#searchbar .autocomplete-history-dropmarker {
	display: -moz-box !important;
	-moz-binding: url("chrome://global/content/bindings/autocomplete.xml#history-dropmarker");
}

Firefoxを再起動すると履歴ボタンが出てきます。

ちなみに、特定の履歴を削除したい場合は、↓で履歴を選択して Shift + Delで消えます。

タイトルとURLをコピーしました