completion</p>
</body>

<script>
  const button = document.querySelector('button');
  button.addEventListener('click', async () => {
    button.innerHTML = 'Running...';

    // Clear indexedDB
    const dbNames = ['keyval-store', 'tensorflowjs'];
    for (const dbName of dbNames) window.indexedDB.deleteDatabase(dbName);


    // Clear cache
    const cache = await caches.keys();
    cache.forEach((key) => caches.delete(key));

    // Clear local storage
    localStorage.clear();

    window.location.href =