Anki add-on: clear all window.localStorage Item using javascript

This function deletes all data stored in window.localStorage when prompted with a question. It is typically not needed, but can be useful for clearing information stored using window.localStorage.