My question is about fine tuning of Chrome or Chromium browser. It have support of new generation of cookies: HTML5 LocalStorage and Databases. Some ad sites uses LocalStorage to do user tracking, some other sites uses this too. Also, chrome plugins (extensions) often uses localstorage to keep settings.

I want to disable LocalStorage&DB for all sites completely or get it in "ask user" mode. But I want to use extensions which uses LocalStorage and DB.

Is it possible?

link|improve this question

80% accept rate
No. – Sathya Jun 18 '11 at 15:24
I have been manually deleting content in the local storage and DB folders for a while now, I leave the extension settings, but delete the rest twice a day. – Moab Jun 18 '11 at 17:37
There is a command-line option --disable-localstorage which works but disables localstorage for extensions. – osgx Jun 19 '11 at 9:14
feedback

1 Answer

up vote 2 down vote accepted

While some resources on the Internet claims that Chrome's cookie blocking does not also block LocalStorage, I just ran a quick test and discovered that it does actually block LocalStorage, (at least in Chrome 12, the current beta version).

Just click the Wrench and choose Options (or Preferences on UNIX-like platforms), go to the Under the Hood tab, select Content Settings, and choose the Block any sites from setting data option:

chrome cookie settings

While you're there, you can select Manage Exceptions to whitelist certain sites, or All Cookies and Site Data to manage or delete existing data.

Now when you visit a site, a small icon will appear indicating cookies or LocalStorage has been blocked: cookie blocked icon screenshot

If you click on that, choose Show cookies and other site data, and select the Blocked tab, you can see what data the site tried to save and whitelist sites on a temporary or permanent basis.

blocked cookies display

link|improve this answer
Blocking all cookies is a bit overkill for me. – osgx Jun 19 '11 at 9:15
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.