3

enter image description here

I want to have the same behavior as 'Clear site data' in a Javascript function, because my Angular app (after upgrading Angular) seems to misbehave without clearing site data and I don't want customers to be forced to clear site data themselves.

If it's not possible to clean everything, is there at least a way to clean 1) localStorage 2) all IndexedDB databases 3) Cookies and 4) Web SQL

Thanks in advance

Calvin
  • 457
  • 1
  • 4
  • 15
  • 1
    Does this answer your question? [What is the JavaScript equivalent of "Clear Site Data" in Chrome Dev Tools?](https://stackoverflow.com/questions/42772028/what-is-the-javascript-equivalent-of-clear-site-data-in-chrome-dev-tools) – viam0Zah Jun 30 '20 at 11:11

0 Answers0