Greasy Fork is available in English.

lib:indexeddb ls

none

Autore
rssa_romeo
Installazioni giornaliere
0
Installazioni totali
6
Valutazione
0 0 0
Versione
6
Creato il
03/04/2024
Aggiornato il
18/08/2024
Licenza
GPLv3
Applica a
Tutti i siti

use indexeddb like localstorage
example:
const setupls = loadlib("indexeddb ls")
const ls = await setupls('name')
log(ls.test) //undefined
ls.test = 'testing'
log(ls.test) //testing
ls.obj = {asd:'asd'}
log(ls.obj) //{asd:'asd'}

requires:
https://greasyfork.org/en/scripts/491562-libloader-lib
https://greasyfork.org/en/scripts/489763-all-functions-lib