Question

Can't clear search toolbar history in Firefox

Asked by: Richard2000

I am trying to clear the search history of the built-in Firefox search toolbar (currently set to Google).  I have right-clicked on the toolbar and selected "Clear Search History".  However, I later noticed that when I started to type searches into the box it often starts displaying suggestions from previous searches that should have been deleted.  Why haven't they been deleted?

I've tried clearing Private Data.  This appears to work fine for forms and the address bar, but not for the built -in search toolbar.

I am using Firefox 2.0.0.2 on Windows '98 SE.

Any ideas?

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2007-02-26 at 10:00:30ID22413914
Tags

clear

,

search

,

firefox

,

history

Topics

Web Browsers

,

Microsoft Windows Operating Systems

,

Firefox Web Browser

Participating Experts
3
Points
50
Comments
27

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. eBay toolbar for Firefox?
    Does anyone know of an eBay toolbar for Firefox that I could use? One that is similiar to the one officially released by eBay? Such as the Googlebar for Firefox :) Thanks in advance! :D
  2. Removing toolbar from FireFox
    We have developed a very large application written in PHP, and we are running it in FireFox 1.5. We would like to remove the top tool bar from FireFox (the one with the File, Edit, etc. menus in them). I want this toolbar permanently removed from the installation. Since we...
  3. Firefox Developer Bar :: Any way to disable 'Clear Hist…
    I'm using the Firefox Developer Bar and I use the "Miscellaneous -> Clear Cache" button quite a bit. There are times, however, when I inadvertently click on "Clear History" instead. It is very annoying because I lose information I wanted to keep such ...
  4. Arrange Firefox toolbars
    Hi, at the moment I do have 2 toolbars in firefox: Roboform and Google Toolbar. I don't like that each toolbar has it's own rown, which is using unnessesary space. Is there a way to arrange them the way I want them to look, like having all icons from the toolbars beside the ...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: war1Posted on 2007-02-26 at 10:06:25ID: 18610993

Richard2000,

Highlight the search term and click Shift + Delete keys.  If you hold down the Shift key, then hit Delete, all the terms gets deleted quickly.

 

by: mtz1of4Posted on 2007-02-26 at 11:17:08ID: 18611584

Richard,

Actually that is a Feature of the Firefox Search function where it is actually Suggesting search terms,

What you need to do is right click in that Search bar and UnCheck the
"Show Suggestions"  option.

 

by: mtz1of4Posted on 2007-02-26 at 11:21:48ID: 18611614

You will have to restart Firefox to see the change take place, but you will also have to "Clear Search History" as you stated in your original post and then do the Unchecking of Show Suggestions and then restart Firefox.  Boom - nothing there.

If you never want the Search bar to remember any of the searches, you have to open Tools->Options->Privacy - History and Uncheck the "Remember what I enter in forms and the Search bar"

 

by: Richard2000Posted on 2007-02-27 at 13:29:57ID: 18620645

Thanks for your comments.  Unfortunately, I am still having problems with this.

>> Highlight the search term and click Shift + Delete keys.  If you hold down the Shift key, then hit Delete, all the terms gets deleted quickly.

Unfortunately, it would be difficult to delete all search terms like this, since typing different characters will bring a list of different search terms.

>> What you need to do is right click in that Search bar and UnCheck the "Show Suggestions"  option.

This only appears to suppress the showing of the list.  It still doesn't delete the actual search terms.

>> If you never want the Search bar to remember any of the searches, you have to open Tools->Options->Privacy - History and Uncheck the "Remember what I enter in forms and the Search bar"

I have tried this.  It does seem to stop new searches from being remembered, but old searches still remain.

Why doesn't clearing Private Data and/or selecting Clear Search History simply delete all of the terms from the built-in search box?  Could there be a Firefox bug that is causing this?  Any ideas?

 

by: war1Posted on 2007-02-27 at 13:43:43ID: 18620746

>> Unfortunately, it would be difficult to delete all search terms like this, since typing different characters will bring a list of different search terms.

If you click on an empty box, it will bring the list of your search terms.  Hightlight the first one.  Hold down the Shift key.  Then hold down the Delete key.  The terms delete really fast.

Clicking "Clear Now" should delete your Search data if the proper options are selected. By Private Data, click Settings and make sure "Save Fform Information" are checked.

 

by: Richard2000Posted on 2007-02-27 at 14:12:32ID: 18620973

I don't understand why selecting Saved Form Information (via Clear Private History) and/or Clear Search History (from the context menu on the toolbar) does not clear the list from the built-in toolbar.

 

by: mtz1of4Posted on 2007-02-27 at 14:58:56ID: 18621346

"I don't understand why selecting Saved Form Information (via Clear Private History) and/or Clear Search History (from the context menu on the toolbar) does not clear the list from the built-in toolbar."
Clear Search History  does delete the history, BUT then again you do have an outdated OS.  I wonder if that is why it doesn't do what you are expecting.  This isn't an Added toolbar you are referring to, is it? It is the default Search Bar, correct?
Although according to http://kb.mozillazine.org/Search_Bar using the Shift+ Del allows you to Delete one at a time.  I would just use the Right Click and Clear Search History.

 

by: Richard2000Posted on 2007-02-28 at 12:12:25ID: 18628327

Thanks for your comment.

I use Windows '98 SE, however, Firefox does claim to still support it (please see http://www.mozilla.com/en-US/firefox/system-requirements.html), and everything else in Firefox seems to work okay with it.

I am using the built-in default toolbar, to the right of the address bar.  I don't have any third-party Firefox toolbars installed.

I can delete individual entries by selecting them and hitting delete.  But choosing Clear Search History (which is what it really needed to clear all entries), does not seem to be effective.

Makes me wonder if there is a bug somewhere, as clearing the search history should be straightforward otherwise, although I couldn't find any documented bug that could cause this.

Any further ideas?

 

by: war1Posted on 2007-02-28 at 12:51:14ID: 18628674

An addon could be interfering.  Go to Tools > Addons and disable all the addons. Now test.

 

by: Richard2000Posted on 2007-02-28 at 13:02:52ID: 18628777

I disabled an add-on, restarted Firefox and testing again, but unfortunately it made no difference.

 

by: Richard2000Posted on 2007-02-28 at 13:04:35ID: 18628790

BTW, in which file does Firefox locally store the search history for the built-in toolbar (i.e. the search terms that pop up as suggestions)?

 

by: war1Posted on 2007-02-28 at 13:22:00ID: 18628976

>> I disabled an add-on,

Did you disable all addons, or one addon?

The search terms are stored in Formhsitory.dat file in Firefox profile folder.

 

by: Richard2000Posted on 2007-03-02 at 04:18:38ID: 18639638

I had disabled all ad-ons for testing (I only had one ad-on enabled at the time).

I've viewed formhistory.dat in Notepad, but there are no search terms stored in it.  The file is only 233 bytes in size as well.  Yet, if I go to the built-in Google search bar and start typing, I still see suggestions popping up (previous searches that have been done).  So where is Firefox actually storing them locally in this case and why won't they clear?

 

by: mtz1of4Posted on 2007-03-02 at 07:13:42ID: 18641332

Richard2000,

Can we try this just one more time?  

Right click in the Firefox Search form, scroll to bottom and make sure that "Show Suggestions" does not have a check.
Right click in the Firefox Search form again, scroll to the "Clear Search History"
Close Firefox.
Open Firefox.
Type anything in to the Search form.


I'm looking into this but can you take a look at this page and confirm your settings for us?  This is how mine is set up.  Yours should not have a Checkmark.

http://img394.imageshack.us/my.php?image=printscreenis7.jpg

 

by: mtz1of4Posted on 2007-03-02 at 07:20:27ID: 18641398

Although That didn't work for me either on XP, now that I tried it.

I had to then go up to Tools->Clear Private Data when That window popped up, I chose Cache and Saved Form and Search History then hit Clear Private Data Now and voila it was gone.

I'm thinking it might be time for a Bug report to Mozilla.

https://bugzilla.mozilla.org/

 

by: mtz1of4Posted on 2007-03-02 at 08:06:22ID: 18641834

So it seems that Clear Search History in the Search box itself doesn't work and is misleading.  And it seems currently the KB's and Forums are offline so I can't do better research at this point in time BUT I did do some research on my own system and war1 is correct.

As war1 stated previously, the actual file that holds your Search history is indeed formhistory.dat

If you were to physically delete that file while Firefox is closed, (NEVER work in your Profile folder while Firefox is running) it will be replaced (although empty) when Firefox is opened the next time.

The reason you don't see anything (that resembles your search terms) in it is because it is actually in the Mork structure format. One of the most confusing and illegible format to humans.
http://en.wikipedia.org/wiki/Mork_(file_format)
http://developer.mozilla.org/en/docs/Mork_Structure

 

by: Richard2000Posted on 2007-03-02 at 08:06:25ID: 18641835

I tried it again but the problem is persisting.  There doesn't appear to be any way to remove the list of suggestions from the Firefox built-in toolbar that works.  Also, unchecking "Show Suggestions" only appears to suppress the showing of the list.  It still doesn't delete the actual search terms.

 

by: mtz1of4Posted on 2007-03-02 at 08:15:58ID: 18641940

I hope you saw my last post above yours.

 

by: Richard2000Posted on 2007-03-02 at 08:24:46ID: 18642034

Yes, I saw your post.  Thanks.

I'm still uncertain about the formhistory.dat file though.  There are many suggestions it has remembered, yet the size of this file is only 233 bytes.

 

by: war1Posted on 2007-03-02 at 09:08:19ID: 18642450

Richard2000,

If you want to fix the problem, you can create a new Firefox profile. Something in your old profile is corrupt, and we have not been able to find it.
http://www.mozilla.org/support/firefox/profile

 

by: mtz1of4Posted on 2007-03-02 at 09:08:25ID: 18642451

I wonder if maybe you have multiple profiles and you just might be looking at a different one?


A blank formhistory.dat will have this in it when opened in Notepad.

// <!-- <mdb:mork:z v="1.4"/> -->
< <(a=c)> // (f=iso-8859-1)
  (80=ns:formhistory:db:row:scope:formhistory:all)
  (81=ns:formhistory:db:table:kind:formhistory)(82=Value)(83=Name)
  (84=ByteOrder)>
<(80=llll)>[1:^80(^84^80)]

That is one of mine that is 231 bytes.

Have you done a complete search of your hard drive for form*.dat ? Do you have multiple?

In Win98 the profile folder should be in one of these two locations.
C:\Windows\Application Data\Mozilla\Firefox\Profiles\<Profile name>\
C:\Windows\Profiles\<Windows login/user name>\Application Data\Mozilla\Firefox\Profiles\<Profile name>\


In your Profile, do you have  search.sqlite ? We may need to rename it and see if that helps.

I'm looking around at some bugs now.
By any chance, how is your Hard Drive space?
https://bugzilla.mozilla.org/show_bug.cgi?id=359564

How did you upgrade to 2.0.0.2? Did you upgrade over 1.5.0.7?
If the search bar problem still exists, even in a new profile, it could be related to bug https://bugzilla.mozilla.org/show_bug.cgi?id=357922 (Firefox 2 installer bug) which causes various problems including search tab and URL bar problems and missing bookmarks.


If deleting your formhistory.dat and restarting Firefox does not help, I think the last thing I would try is closing Firefox, Copy over the Profile Folder to make sure you have a good backup,  Downloading a New Download of the set up Program, closing Firefox, Uninstalling it, restarting system, Install the Newly downloaded copy of Firefox and see if that helps.  You could start out with a brand new Profile if you want.

 

by: Richard2000Posted on 2007-03-04 at 03:58:16ID: 18649844

>> I wonder if maybe you have multiple profiles and you just might be looking at a different one?

I have only one profile.

>> Have you done a complete search of your hard drive for form*.dat ? Do you have multiple?

Actually I have three formhistory.dat files, two of which are backups in different folders.  However, Firefox does not know anything about the two backups, so there is only one profile as far as Firefox is concerned.

>> In your Profile, do you have search.sqlite?

Yes, I have this file in my profile folder.

>> By any chance, how is your Hard Drive space?

There is plenty of free space on my HD (several GB), so this shouldn't be a problem.

>> How did you upgrade to 2.0.0.2? Did you upgrade over 1.5.0.7?

I last upgraded from 2.0.0.1 to 2.0.0.2 using the built-in update option.

 

by: Richard2000Posted on 2007-03-04 at 04:00:32ID: 18649846

One important point I have noticed.  When I type entries into a form (not the built-in toolbar) and close Firefox, they are stored in formhistory.dat and can be deleted successfully with Clear Private Data.  However, when I try the same with the built-in search toolbar, search terms are not added to formhistory.dat.  Even though Firefox must be saving these terms somewhere, using Clear Private Data or Clear Search History does not delete the terms for the toolbar.  If it doesn't save the toolbar terms to formhistory.dat, then in what file does it actually store them in?

 

by: Richard2000Posted on 2007-03-04 at 12:42:22ID: 18651110

Thanks for your help.

I managed to figure out what was happening.  Actually there is no bug as such; apparently this appears to be behaviour by design.

To clarify, the built-in search bar pops up *two* types of searches:

1) Searches that have been typed in and remembered on the local machine.  These can be cleared successfully with Clear Search History or Clear Private Data.

2) Suggestions that pop up from Google.  Apparently, as a search term is typed, it asks Google over the Internet connection for suggestions and pops them up.  I incorrectly thought these were remembered searches from my local machine but they are not.  This is what was confusing me.

So the solution is to simply disable "Show Suggestions" and use Clear History or Clear Private Data to clear the searches that I have typed in myself.

 

by: mtz1of4Posted on 2007-03-04 at 13:00:20ID: 18651152

Richard on my xp pro machine I tested with a clear formhistory.dat and then Entered some Search bar "words" and the formhistory.dat did indeed grow on my machine.

Although I need to look into this a little more, I believe the developers are working on moving away from MORK and into that formhistory.sqlite file for forms and places database.
Placing this link here to remind myself why.
http://groups.google.com/group/mozilla.dev.planning/tree/browse_frm/month/2006-04/2fdb721ad0b76b52?rnum=181&_done=%2Fgroup%2Fmozilla.dev.planning%2Fbrowse_frm%2Fmonth%2F2006-04%3F

I'll need to compare both my builds and see which is which, but my thought on your issue would be to Uninstall Firefox and this time Install to a Brand New Program folder, not the default because it simply installs over the older one. What I'm trying to do is confirm a Clean Install and A Clean Profile to see if you can replicate this issue Cleanly. Which means then you would also Create a New Profile to use with the New clean Firefox program and see if the issue still comes back.

 

by: mtz1of4Posted on 2007-03-04 at 13:24:36ID: 18651216

Thanks Richard.

That is exactly what is happening.

 

by: TaurusPosted on 2008-07-08 at 17:53:12ID: 21959717

The Address bar will make suggestions based on what you have in your bookmarks folder.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...