X
Нажмите здесь, чтобы перейти на мобильную версию сайта.

Форум поддержки

How to delete history, cookies, and cache on OPEN

Размещено

I administer public access computers in a public library. We use Firefox as our primary browser, and I have configured it to clear cache, history, and cookies on exit to protect patron privacy.

Recently, I have experienced a few instances where this did not work. Upon confirming that there weren't any minimized windows open in the taskbar, I could re-open the browser and access the previous patron's email inbox. This should not happen because clearing the cookies should remove any active logins.

My hypothesis for why this happened is that the Firefox process did not terminate properly, preventing it from clearing the data.

My question is: Is there a way to tell Firefox to clear the data when it *OPENS* as well as closes? This would allow for the data to be wiped if Firefox crashes or does not shutdown properly.

I administer public access computers in a public library. We use Firefox as our primary browser, and I have configured it to clear cache, history, and cookies on exit to protect patron privacy. Recently, I have experienced a few instances where this did not work. Upon confirming that there weren't any minimized windows open in the taskbar, I could re-open the browser and access the previous patron's email inbox. This should not happen because clearing the cookies should remove any active logins. My hypothesis for why this happened is that the Firefox process did not terminate properly, preventing it from clearing the data. My question is: Is there a way to tell Firefox to clear the data when it *OPENS* as well as closes? This would allow for the data to be wiped if Firefox crashes or does not shutdown properly.
Цитата

Дополнительные сведения о системе

Приложение

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36

Дополнительная информация

cor-el
  • Top 10 Contributor
  • Moderator
17524 решений 158458 ответов
Размещено

Полезный ответ

Firefox should log the closing progress in sessionCheckpoints.json in the profile folder and if there are unfinished tasks detected on startup then these should be done. Firefox can store session data in sessionstore.jsonlz4 including cookies. To prevent storing cookies as part of session restore, you can set the browser.sessionstore.privacy_level pref to 2 on the about:config page.

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

Firefox should log the closing progress in sessionCheckpoints.json in the profile folder and if there are unfinished tasks detected on startup then these should be done. Firefox can store session data in sessionstore.jsonlz4 including cookies. To prevent storing cookies as part of session restore, you can set the browser.sessionstore.privacy_level pref to 2 on the <b>about:config</b> page. *https://dxr.mozilla.org/mozilla-release/source/browser/app/profile/firefox.js#857 You can open the <b>about:config</b> page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue. *https://support.mozilla.org/en-US/kb/about-config-editor-firefox
Помогла ли вам это? 1
Цитата

Задавший вопрос

cor-el said

To prevent storing cookies as part of session restore, you can set the browser.sessionstore.privacy_level pref to 2 on the about:config page.

Thanks, I'll try that.

''cor-el [[#answer-1259117|said]]'' <blockquote> To prevent storing cookies as part of session restore, you can set the browser.sessionstore.privacy_level pref to 2 on the <b>about:config</b> page. </blockquote> Thanks, I'll try that.
Помогла ли вам это?
Цитата
Задать вопрос

Для ответа на сообщения вы должны войти в свою учётную запись. Пожалуйста, задайте новый вопрос, если у вас ещё нет учётной записи.