Firefox can be set to clear browsing history automatically when the program shuts down.

To clean history automatically:

  1. Along the top of the Firefox window, please click Tools, then select Options...
  2. Click the Privacy tab.
  3. Next to "Firefox Will:" select Use custom settings for history.
  4. You will now be presented with a series of options. Please leave the defaults selected for now.
  5. The bottom option will be Clear history when firefox closes, check the box by this option.
  6. You can click the Settings button next to this option to specify exactly what information will be automatically deleted.
  7. Click OK on all open menus to save your changes.