var idbRequest = window.indexedDB.open('Database Name'); idbRequest.onsuccess = function(e) { var db = this.result; var transaction = db.transaction(idb_.objectStoreNames[0], IDBTransaction.READ_ONLY); var curRequest = transaction.objectStore('ObjectStore Name').openCursor(); curRequest.onsuccess = ...; };