Faster IndexedDB Geter

A library that can make you do the things of IndexedDB faster.

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/478225/1270031/Faster%20IndexedDB%20Geter.js

Author
PPPxcy
Version
0.0
Created
2023-10-25
Updated
2023-10-25
License
N/A

Faster IndexedDB Geter

A small library that can make you do the things of IndexedDB faster.

The method is unsafeWindow.ReadIndexedDB (window.ReadIndexedDB outside), takes three parameters: storeName, groupName, keyName. It returns a Promise object. If it reads successful, the Promise will resolve the value you would get in IndexedDB, otherwise, it will reject the error.