Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firefox auto clear site data on exit doesn't work

  • 6 个回答
  • 8 人有此问题
  • 6 次查看
  • 最后回复者为 MarioRT

more options

Hi

Under settings for clear history on exit all of the options are selected, but FB cookie is persistent as hell after exit. Tried to reinstall FF, delete profile, all user data files from PC - problem persisted. Any tips ?

FF 57.0.2 (64bit), W10 64bit, 2 extension installed (ublock origin and sticky password)

Hi Under settings for clear history on exit all of the options are selected, but FB cookie is persistent as hell after exit. Tried to reinstall FF, delete profile, all user data files from PC - problem persisted. Any tips ? FF 57.0.2 (64bit), W10 64bit, 2 extension installed (ublock origin and sticky password)
已附加屏幕截图

由MarioRT于修改

被采纳的解决方案

It wasn't corrupted installation just config bug ! Geek uninstaller - deleted all files on disk created by FF (also registry). Installed fresh FF and as i use lot of about:config tweaking i went one setting change then check after it. Finally squeezed FF to my liking but found that these combination of modifications makes FF leave LSO cookie despite selected option to delete all data on exit.

privacy.resistFingerprinting = true privacy.firstparty.isolate = true network.http.referer.XOriginTrimmingPolicy = 2 network.http.referer.XOriginPolicy = 2 network.http.referer.trimmingPolicy = 2

these modifications will not interfere with dumping all data on exit (if selected in options)

  • browser.send_pings = false
  • media.navigator.enabled = false
  • dom.battery.enabled = false
  • browser.sessionstore.max_tabs_undo = 0
  • network.http.sendRefererHeader = 0
  • browser.sessionhistory.max_entries = 2
  • media.peerconnection.enabled = false
  • extensions.pocket.enabled = false
  • geo.enabled = false
  • browser.safebrowsing.phishing.enabled = false
  • browser.safebrowsing.malware.enabled = false
  • dom.event.clipboardevents.enabled = false
定位到答案原位置 👍 3

所有回复 (6)

more options

Try to rename/remove cookies.sqlite files in the Firefox profile folder with Firefox closed.

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

You can remove all data stored in Firefox from a specific domain via "Forget About This Site" in the right-click context menu of an history entry ("History -> Show All History" or "View -> Sidebar -> History").

Using "Forget About This Site" will remove all data stored in Firefox from that domain like bookmarks and history and cookies and passwords and cache and exceptions, so be cautious. If you have a password or other data from that domain that you do not want to lose then make sure to backup this data or make a note.

You can't recover from this 'forget' unless you have a backup of involved files.

If you revisit a 'forgotten' website then data from that website will be saved once again.

more options

Hi,

Tnx for tip but it didn't help :( I don't use history and for passwords i use Sticky password external app. Renamed cookies.sqlite to cookies.sqliteOLD, FF on start created new one, visited FB logged out, but FB cookie persisted once again after exiting FF. Will try to reinstall FF once again, deleting all of the FF created folders and data. This is so annoying !

more options

I think it could be a corrupted install of FF. I do know my clean install of FF57 by accident I left all those checked and it wipe clean any history or cache on a working FF57 install. So you should uninstall and delete any Mozilla folder from the both Program Files location. As you might know x64 O/S install still does have a ProgramFilesx86 folder and if you have older Mozilla in there you should delete that folder to prevent any future problems as well. I know I had to do that when I upgraded to FF57x64 it installed that version based on my x64 Win10Prox64 O/S. This is something that isn't told to those upgrading it will install FF version based on your O/S version. So a O/Sx86 will get FFx86 while a O/Sx64 that had FFx86 before will become FFx64. FF will not alert you this - I found this out by installing it and saw it when it was already done. So when I redid my computer I made sure to avoid x86FF and download x64FF before installing.

more options

选择的解决方案

It wasn't corrupted installation just config bug ! Geek uninstaller - deleted all files on disk created by FF (also registry). Installed fresh FF and as i use lot of about:config tweaking i went one setting change then check after it. Finally squeezed FF to my liking but found that these combination of modifications makes FF leave LSO cookie despite selected option to delete all data on exit.

privacy.resistFingerprinting = true privacy.firstparty.isolate = true network.http.referer.XOriginTrimmingPolicy = 2 network.http.referer.XOriginPolicy = 2 network.http.referer.trimmingPolicy = 2

these modifications will not interfere with dumping all data on exit (if selected in options)

  • browser.send_pings = false
  • media.navigator.enabled = false
  • dom.battery.enabled = false
  • browser.sessionstore.max_tabs_undo = 0
  • network.http.sendRefererHeader = 0
  • browser.sessionhistory.max_entries = 2
  • media.peerconnection.enabled = false
  • extensions.pocket.enabled = false
  • geo.enabled = false
  • browser.safebrowsing.phishing.enabled = false
  • browser.safebrowsing.malware.enabled = false
  • dom.event.clipboardevents.enabled = false

由MarioRT于修改

more options

Note that you can break some websites when you modify prefs like you do to disable specific features.

  • privacy.resistFingerprinting = true (this changes a lot to settings to specific defaults)
  • network.http.sendRefererHeader = 0 (some websites use the referrer as a security protection)
  • geo.enabled = false (Firefox asks for permission to use Geo-location)

由cor-el于修改

more options

5+ years as i use these settings (expect one added as Tor Uplift effort) never have i experienced problems with it ! Referrer is mostly used for tracking, and i don't see reason for my browser to send geo location ( sites can use IP instead).