iOS – How to remove HTML5 persistent databases in UIWebView?

I have a native application using UIWebView, and noticed that websites like Google, they use HTML5 local database to store information. I use native API to clear cookie storage Project, but clearing the persistent cookie store will not delete these local databases. Is there a way to delete them through the native API?

Update:

Is there a way to perform this operation via non-native API or JavaScript?

You can run this JavaScript directly in the URL bar:

javascript:localStorage.clear();

Please note that local storage is the same domain scope, so it will clear the storage
your current domain name.

p>

Currently Google uses it for Google Analytics, adsense, etc.

I have a native application that uses UIWebView and noticed something like Google For websites, they use HTML5 local databases to store information. I use native API to clear items in cookie storage, but clearing persistent cookie storage does not delete these local databases. Is there a way to delete them through native API?

Update:

Is there a way to perform this operation via non-native API or JavaScript?

You can run this JavaScript directly in the URL bar:

javascript:localStorage. clear();

Please note that local storage is the same domain scope, so it will clear the storage
your current domain name.

Currently Google uses it for Google Analysis, adsense, etc.

Leave a Comment

Your email address will not be published.