1857979-1.html (597B)
1 <!DOCTYPE html> 2 <script> 3 window.addEventListener('load', async () => { 4 const db1 = indexedDB.open('DB_1696052013002') 5 db1.onsuccess = () => window.close() 6 const blob = new Blob(['0'], {}) 7 db2 = indexedDB.open('DB_1696052013003') 8 db2.onupgradeneeded = (e) => { 9 const store = e.target.result.createObjectStore('IDBStore_0', { 10 'autoIncrement': true, 11 }, 'ObjectKey_0') 12 store.put({ store_key_1: blob }) 13 const index = store.createIndex('IDBIndex_2', ['index_key_3'], {}) 14 store.mozGetAll() 15 store.transaction.commit() 16 } 17 }) 18 </script>