Is there IndexedDB or localStorage for localhost or local file:// protocol?

patarapolw

Pacharapol Withayasakpunt

Posted on September 2, 2020

Is there IndexedDB or localStorage for localhost or local file:// protocol?

I believe it is a no for all.

This is pretty much a killer for both

  • Neutralino.js (default browser webview with token-based auth localhost)
  • Lorca (Chrome DevTools protocol in app mode)
  • Even Electron or Ultralight, if you use localhost or file protocol... (of course, a fix might be to use custom protocol, like app://./)

So, is there an option at all, for convenience, without contacting the server API's?

💖 💪 🙅 🚩
patarapolw
Pacharapol Withayasakpunt

Posted on September 2, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related