MCPcopy Create free account
hub / github.com/Bistutu/FluentRead / removeSession

Function removeSession

userscripts.js:277–279  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

275 return localStorage.getItem(model + "_" + option + "_" + key)
276 },
277 removeSession(key) {
278 localStorage.removeItem(util.getValue('model') + "_" + key)
279 },
280 // 清空相关域下的 LocalStorage
281 clearLocalStorageIfNewSession() {
282 const lastSessionTimestamp = localStorage.getItem('lastSessionTimestamp');

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected