mirror of
https://github.com/obsqrbtz/goose-highlighter.git
synced 2026-04-08 20:19:06 +03:00
init
This commit is contained in:
8
storage.js
Normal file
8
storage.js
Normal file
@@ -0,0 +1,8 @@
|
||||
export async function getLists() {
|
||||
const { lists } = await chrome.storage.local.get("lists");
|
||||
return lists || [];
|
||||
}
|
||||
|
||||
export async function saveLists(lists) {
|
||||
await chrome.storage.local.set({ lists });
|
||||
}
|
||||
Reference in New Issue
Block a user