Овај сајт ће имати ограничену функционалност док га будемо ажурирали у циљу побољшања вашег искуства. Ако неки чланак не реши ваш проблем и желите да поставите питање, на располагању ће вам бити наше заједнице подршке @FirefoxSupport на Twitter-у и /r/firefox на Reddit-у.

Претражи подршку

Избегните преваре подршке. Никада од вас нећемо тражити да зовете или шаљете поруке на број или да делите личне податке. Пријавите сумњиве радње преко „Пријавите злоупотребу” опције.

Сазнај више

Data from a website is deleted upon closing Firefox, despite an exception being set for this website

  • 5 одговорa
  • 0 има овај проблем
  • 38 прегледа
  • Последњи одговор послао Firkraag

more options

Hi all.

I use Firefox 120.0.1 with the setting "Delete cookies and site data when Firefox is closed" to clear said data when closing Firefox. I have also set an exception for a few websites, so they should save cookies and data. However, this does not work as intended. After closing and reopening Firefox, both cookies and data are gone from these websites. I have looked for a solution in older forum entries, and it was recommended to adjust the history settings. It seems that checking the box at "Delete cookies and site data when Firefox is closed" automatically sets the history settings to what can be seen in the attached screenshot. Altering these automatic settings unchecks the box above. Is this issue related to the website or is there a way to solve it?

Hi all. I use Firefox 120.0.1 with the setting "Delete cookies and site data when Firefox is closed" to clear said data when closing Firefox. I have also set an exception for a few websites, so they should save cookies and data. However, this does not work as intended. After closing and reopening Firefox, both cookies and data are gone from these websites. I have looked for a solution in older forum entries, and it was recommended to adjust the history settings. It seems that checking the box at "Delete cookies and site data when Firefox is closed" automatically sets the history settings to what can be seen in the attached screenshot. Altering these automatic settings unchecks the box above. Is this issue related to the website or is there a way to solve it?
Приложени снимци екрана

Изабрано решење

When clicking on the cookies in the Inspector panel, all it says is "No data present for selected host".

However, after recruiting additional help, I have now resolved the issue. Thanks for all your help!

Should anyone look for a fix for the same problem in this thread, here is what did the trick for me: Owlbear.rodeo (and probably other web apps too) features extensions that use their own domains. The exception set for the main website in Firefox' settings does not include the extensions' domain. I found the extensions' domain in: Inspector panel > Storage > Cookies and created additional exceptions for them in Firefox' privacy settings.

Прочитајте овај одговор са објашњењем 👍 0

Сви одговори (5)

more options

With your current settings this should work. Do you have content blocking extensions that might interfere ?

Start Firefox in Troubleshoot Mode to check if one of the extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) or if hardware acceleration or if userChrome.css/userContent.css is causing the problem.

  • switch to the Default System theme: "3-bar" menu button or Tools -> Add-ons -> Themes
  • do NOT click the "Refresh Firefox" button on the Troubleshoot Mode start window

Using "Delete cookies and site data when Firefox is closed" to clear cookies keeps cookies with an allow exception. In 102+ version toggling this setting makes changes to the "Clear history when Firefox closes" settings and those settings prevail Using "Clear history when Firefox closes" in Firefox 102+ honors exceptions and keeps cookies with an allow exception, previous versions removed all cookies Make sure to keep the "Site settings".

  • clearing "Site settings" clears exceptions for cookies, images, pop-up windows, and software installation and exceptions for passwords and other website specific data
more options

Did you look in "Manage Data" after closing and reopening to confirm there are no cookies listed for the domain?

Does it still happen with all your extensions disabled?

more options

Thanks for your swift replies.

Unfortunately, the issue persisted in the troubleshoot mode. I also retried with all my extensions manually disabled, but to no avail.

When looking into the "Manage Data" menu as recommended, I noticed that only the cookies from owlbear.rodeo (the web-based app on which the issue arose!) are deleted upon closing Firefox, whereas cookies from Netflix.com survived unharmed, though I have set exceptions for both websites. I guess this means the problem is not caused by Firefox but the website in question. I will contact the ones responsible for the website next and see if they can help.

more options

While you are on the website, you can check whether it is setting persistent cookies by using the Storage Inspector panel. Call that up using Shift+F9 and after several seconds load time, it should show the cookies set by the site. If the Expires / Max-Age column isn't displayed, you can right-click any column heading to select it.

If the expiration is Session, or if the expiration date/time is only a few hours in the future, then it's probably the site design.

more options

Одабрано решење

When clicking on the cookies in the Inspector panel, all it says is "No data present for selected host".

However, after recruiting additional help, I have now resolved the issue. Thanks for all your help!

Should anyone look for a fix for the same problem in this thread, here is what did the trick for me: Owlbear.rodeo (and probably other web apps too) features extensions that use their own domains. The exception set for the main website in Firefox' settings does not include the extensions' domain. I found the extensions' domain in: Inspector panel > Storage > Cookies and created additional exceptions for them in Firefox' privacy settings.