This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

Need to delete urlbar history via the command line

  • 1 reply
  • 7 have this problem
  • 16 views
  • Last reply by cor-el

more options

I need to embed a line in our login script that deletes the url bar history from Firefox, as part of our needs to keep browsing histories private. How can I do this?

I need to embed a line in our login script that deletes the url bar history from Firefox, as part of our needs to keep browsing histories private. How can I do this?

All Replies (1)

more options

The only way to do that would be to delete places.sqlite in the Firefox Profile Folder.

Places.sqlite also stores the bookmarks, but Firefox will restore those from the most recent JSON backup in the bookmarkbackups folder.