Greasy Fork is available in English.

lib:indexeddb ls

none

Maker
rssa_romeo
Dagelijks aantal installaties
0
Totaal aantal installaties
5
Beoordelingen
0 0 0
Versie
5
Gemaakt op
03-04-2024
Bijgewerkt op
16-05-2024
Licentie
GPLv3
Wordt toegepast op
Alle websites

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