你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/491566-lib-indexeddb-ls,源站連結 點此以跳轉

lib:indexeddb ls

none

当前为 2024-04-19 提交的版本,查看 最新版本



點此查看下載連結位址https://update.greasyfork.org.cn/scripts/491566/1362986/lib%3Aindexeddb%20ls.user.js

安装此脚本?
作者
rssa_romeo
评分
0 0 0
版本
1
创建于
2024-04-03
更新于
2024-04-19
大小
5.1 KB
许可证
GPLv3
适用于
所有网站

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.cn/en/scripts/491562-libloader-lib
https://greasyfork.org.cn/en/scripts/489763-all-functions-lib