搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Can I Clear all history from command line?

  • 3 回覆
  • 3 有這個問題
  • 1 次檢視
  • 最近回覆由 ideato

more options

Is there a way to simulate clearing all history

Tools -> Clear Recent History -> Everything

from the command line in Windows 7?

I'm writing test automation and this would come in handy when running my tests

Is there a way to simulate clearing all history Tools -> Clear Recent History -> Everything from the command line in Windows 7? I'm writing test automation and this would come in handy when running my tests

所有回覆 (3)

more options

not an answer to your question, but please update to Firefox 20.0.1 before continuing to use the internet. Update Firefox to the latest release

more options

The following article documents the available command line switches: https://developer.mozilla.org/docs/Mozilla/Command_Line_Options

I don't see that option in there, but what do you think about starting Firefox in private browsing mode for your test?

more options

Hello

"C:\Program Files\Mozilla Firefox\firefox.exe" -chrome "chrome://browser/content/preferences/sanitize.xul"


UPDATE : the next is the correct :

"C:\Program Files\Mozilla Firefox\firefox.exe" -chrome "chrome://browser/content/sanitize.xul"

forget the first

thank you

由 ideato 於 修改