Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/violentmonkey/violentmonkey
/ setOne
Method
setOne
src/background/utils/storage.js:58–60 ·
view source on GitHub ↗
(id, value)
Source
from the content-addressed store, hash-verified
56
}
57
58
async
setOne(id, value) {
59
if
(id)
return
this.set({ [id]: value });
60
}
61
62
/**
63
* @param {Object} data
Callers
5
doFetch
Function · 0.80
requestNewer
Function · 0.80
writeOptions
Function · 0.80
fetchResources
Function · 0.80
tester.js
File · 0.80
Calls
1
set
Method · 0.95
Tested by
no test coverage detected