Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/darkreader/darkreader
/ readCSSFetchCache
Function
readCSSFetchCache
src/inject/cache.ts:83–90 ·
view source on GitHub ↗
(url: string)
Source
from the content-addressed store, hash-verified
81
}
82
83
export
function
readCSSFetchCache(url: string): string | null {
84
const
key = `${STORAGE_KEY_CSS_FETCH_PREFIX}${url}`;
85
try {
86
return
sessionStorage.getItem(key) ?? null;
87
} catch (err) {
88
}
89
return
null;
90
}
Callers
1
loadText
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected