搜尋 Mozilla 技術支援網站

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

Learn More

IS there a way to start a session in NOT private browsing on a Mac after you set it to always start in private browsing besides going to the preferences?

  • 1 回覆
  • 1 有這個問題
  • 82 次檢視
  • 最近回覆由 cor-el

more options

I set it to always start in private browsing on a Mac. For some sessions, I would like to start the browser where the history IS kept on the computer. When I try to go and turn off private browsing in the "Tools" menu, the "Stop Private Browsing" menu is grayed out (i.e. unable to click it).

Basically, I want a reverse to the original function (i.e. I want it to always be in private browsing EXCEPT for certain times instead of the original never in private browsing EXCEPT for certain times).

所有回覆 (1)

more options

If you've set that via the Firefox > Preferences > Privacy > Firefox will: "Use custom settings for history" window then you can't use the Stop Private Browsing menu entry.
You can try if it works if you remove the check mark Firefox > Preferences > Privacy > "Always use private browsing mode".
It does for me on Linux.

You can verify it with this code in the Web Developer > Error Console (Ctrl+Shift+J).


var pbs = Components.classes["@mozilla.org/privatebrowsing;1"].getService(Components.interfaces.nsIPrivateBrowsingService);
alert('Private Browsing is '+((pbs.privateBrowsingEnabled)?'on':'off'));