Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How can I Show Search History - NOT browser history?

  • 3 replies
  • 5 have this problem
  • 1 view
  • Last reply by wysocki

more options

Everyone knows that Firefox keeps a history of sites you've visited. Also, by right-clicking on the FF search box, it allows you to "Clear Search History". These are items that you have searched for in the past - but not necessarily clicked through to the results. (where are they kept?)

What I want is to SHOW Search History. In other words, I want to see (and select from) a list of phrases I've entered in the search box. If this isn't available as a feature it'd be a great plugin idea.

Everyone knows that Firefox keeps a history of sites you've visited. Also, by right-clicking on the FF search box, it allows you to "Clear Search History". These are items that you have searched for in the past - but not necessarily clicked through to the results. (where are they kept?) What I want is to SHOW Search History. In other words, I want to see (and select from) a list of phrases I've entered in the search box. If this isn't available as a feature it'd be a great plugin idea.

Chosen solution

See also: (searchbar-history)

You can also make a drop down marker visible, just like the location bar has.

Add code to userChrome.css below the default @namespace line.

The customization files userChrome.css (interface) and userContent.css (websites) are located in the chrome folder in the user profile folder.

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

/* Searchbar History */
#searchbar .autocomplete-history-dropmarker {
 -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#history-dropmarker");
 display:-moz-box !important;
 -moz-appearance: toolbarbutton-dropdown !important;
}
Read this answer in context 👍 2

All Replies (3)

more options

I don't personally save form and search history, so others hopefully can elaborate on the following: If the search box is blank and you press the down arrow on the keyboard, a certain amount of (autocomplete) history will be displayed. Presumably this is incomplete for space reasons.

The data itself is stored in a database file in your profile named formhistory.sqlite. Perhaps there is an add-on that provides convenient access to this data in a friendly format; I didn't search for one.

If there's no purpose-built add-on, you could use some powerful but not particularly user-friendly tools to view the data. For example, you could try the SQLite Manager extension. After you open the manager, you can choose the database you want to view from the toolbar where it says Select Profile Database.

Modified by jscher2000 - Support Volunteer

more options

Chosen Solution

See also: (searchbar-history)

You can also make a drop down marker visible, just like the location bar has.

Add code to userChrome.css below the default @namespace line.

The customization files userChrome.css (interface) and userContent.css (websites) are located in the chrome folder in the user profile folder.

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

/* Searchbar History */
#searchbar .autocomplete-history-dropmarker {
 -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#history-dropmarker");
 display:-moz-box !important;
 -moz-appearance: toolbarbutton-dropdown !important;
}

Modified by cor-el

more options

Thanks, Cor-el, it's perfect! The plugin you refer to would be great for managing form history items, but that wasn't what I wanted. The mod to userChrome.css was exactly what I needed.

Interestingly, my file did not have the @namespace line in it, so I added it, but I'm not sure if I had to or why it worked without it in the first place. Oh, well.

Thanks again!!!