Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LeFroid/Viper-Browser
/ GM_getValue
Function
GM_getValue
src/app/assets/javascript/GreaseMonkeyAPI.js:48–51 ·
view source on GitHub ↗
(name, defaultValue)
Source
from the content-addressed store, hash-verified
46
}
47
48
function
GM_getValue(name, defaultValue) {
49
checkKey(name,
"GM_getValue"
);
50
return
localStorage.getItem(_uuid + name) || defaultValue;
51
}
52
53
function
GM_deleteValue(key) {
54
checkKey(key,
"GM_deleteValue"
);
Callers
nothing calls this directly
Calls
2
checkKey
Function · 0.85
getItem
Method · 0.45
Tested by
no test coverage detected