Цей вебсайт матиме обмежену функціональність, доки ми проводимо його обслуговування для поліпшення роботи. Якщо прочитана стаття не розв'язала вашу проблему і ви хочете поставити питання, наша спільнота підтримки з радістю допоможе вам на @FirefoxSupport у Twitter та /r/firefox на Reddit.

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

Can a website store data for offline use without asking?

  • 7 відповідей
  • 7 мають цю проблему
  • 1 перегляд
  • Остання відповідь від soundwave

more options

In options, advanced, network, offline web content and user data, I have "tell me when a website asks to store data for offline use" checked

And then in the box below which lists websites that are allowed to store data for offline use there is one entry "https://forecast.io"

That site has never asked me to store offline data, and I have never done anything to allow it. The site showed up there previously, I removed it and now it's back.

So, considering I have the box checked to tell me When a site asks, does that mean that it just didn't ask?

In options, advanced, network, offline web content and user data, I have "tell me when a website asks to store data for offline use" checked And then in the box below which lists websites that are allowed to store data for offline use there is one entry "https://forecast.io" That site has never asked me to store offline data, and I have never done anything to allow it. The site showed up there previously, I removed it and now it's back. So, considering I have the box checked to tell me When a site asks, does that mean that it just didn't ask?

Змінено soundwave

Обране рішення

Yes, a website can store data for offline use without asking, and may do so even if you have checked the option "tell me when a website asks to store data for offline use", because that option doesn't work properly. See bug: https://bugzilla.mozilla.org/show_bug.cgi?id=959985

As far as I can tell, it doesn't mean that the site simply "didn't ask", it's just that the option doesn't work (or perhaps only works in cases where the data is larger than pref offline-apps.quota.warn?)

The work-around as given by cor-el above, is to set offline-apps.allow_by_default to false.

Читати цю відповідь у контексті 👍 1

Усі відповіді (7)

more options

There is a pref to define this:

  • offline-apps.quota.warn = 51200

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

more options

I don't understand. Are you saying that sites can store data for offline use without asking if it's less bytes than a certain amount or something? I don't get what that pref means or what values it would take and what they mean.

more options

The offline cache is only used in very rare cases to store data locally. Firefox will store small amounts (less than 50 MB) of data in the offline (application) cache without asking for permission.

  • offline-apps.allow_by_default = true
  • offline-apps.quota.warn = 51200

You can toggle the offline-apps.allow_by_default pref to false to make Firefox ask.

more options

Thanks I will try that.

So, why isn't the checkbox in options titled "tell me when a website asks to store data for offline use" controlling that pref? I guess it's either a bug that it doesn't control it, or a UI bug that it says it like that.

more options

Вибране рішення

Yes, a website can store data for offline use without asking, and may do so even if you have checked the option "tell me when a website asks to store data for offline use", because that option doesn't work properly. See bug: https://bugzilla.mozilla.org/show_bug.cgi?id=959985

As far as I can tell, it doesn't mean that the site simply "didn't ask", it's just that the option doesn't work (or perhaps only works in cases where the data is larger than pref offline-apps.quota.warn?)

The work-around as given by cor-el above, is to set offline-apps.allow_by_default to false.

more options

The checkbox corresponds to a different preference:

browser.offline-apps.notify

Edit: I missed your last reply. It is confusing to have hidden preferences that conflict with the visible one.

Змінено jscher2000 - Support Volunteer

more options

Especially since directly below the visible one is a list of allowed sites which correspond to the hidden pref, not the visible one (or maybe it corresponds to both? I don't know?)