1. Home
  2. Programming Tools
  3. How to enable LocalStorage support in Google Chrome browser

How to enable LocalStorage support in Google Chrome browser

When I was stumbling upon to implement Single Sign-On in one of my web-project, came across a solution implemented by StackOverflow using HTML5 LocalStorage. While following it up with the technical details, came across a troubleshooting page for auto-login. The page would run few tests to check for the availability of certain necessary features in the browser. While, I test my browser, got an error as shown below:

Storage – failed. Your browser either does not support localStorage, or it is disabled for stackauth.com. Either upgrade your browser, or enable localStorage.

LocalStorage not enabled for stackoverflow

So, here is a quick solution to fix it.

Step 1: Click on the menu and select Settings.

Google Chrome Settings button

Step 2: In the Settings page,  click on Show Advanced settings at the bottom of the page.

For older version of Chrome:

Google Chrome show advanced settings

Step 3: Under Privacy, click Content settings

Google Chrome Privacy Content Settings

For version 60.0.x of Chrome:

In the Settings page,  click on Advanced at the bottom of the page. And then, Under Privacy and Security, Click on Content Settings as shown in the below image:

chrome-settings-page

Step 4: In the Content settings page, enable Allow local data to be set (Recommended) and disable Block third-party cookies and site data and click Done button at the bottom of the page.

For Older version of Chrome:

Google Chrome Content Settings Page

For version 60.0.x of Chrome: Click on Cookies.

chrome-cookies-settings

Enable Allow local data to be set (Recommended) and disable Block third-party cookies and site data.

Chrome-cookie-settings

Step 5: Now you access the troubleshooting page and check if your browser supports HTML5 LocalStorage.

LocalStorage enabled in google chrome

Note: Article has been updated for the chrome version: 60.0.x

Updated on September 11, 2017

Was this article helpful?

Related Articles

Comments

  1. Very outdated screenshots. Cannot find any of these options.

Leave a Comment