0

I know localStorage can be disabled entirely in Chrome, but is there a way to disable it per site (domain/URL)?

Blocking cookies doesn't do it, either using Chrome's built-in functionality or the EditThisCookie extension. If I go to Chrome Site Settings [chrome://settings/content/siteDetails?site=THE_SITE] I can clear the contents there, but this is a bit annoying to do all the time and I want to prevent the site from storing data there in the first place.

6
  • Possible duplicate of How to control websites' use of localStorage in Firefox?
    – harrymc
    Jul 27, 2019 at 10:39
  • Alright, I'll make this specific to Chrome then.
    – EM0
    Jul 27, 2019 at 10:48
  • The data in the link mostly applies also to Chrome. Read it.
    – harrymc
    Jul 27, 2019 at 10:49
  • I have read it. As I say in the question, blocking cookies for a site does not block LocalStorage for it in Chrome, at least in my experience.
    – EM0
    Jul 28, 2019 at 17:25
  • According to all sources localStorage obeys cookies policy. If you think otherwise, you should report a bug in Chrome.
    – harrymc
    Jul 28, 2019 at 17:41

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.