MCPcopy
hub / github.com/philc/vimium / saveMark

Function saveMark

background_scripts/marks.js:39–43  ·  view source on GitHub ↗
(markInfo)

Source from the content-addressed store, hash-verified

37}
38
39function saveMark(markInfo) {
40 const item = {};
41 item[getLocationKey(markInfo.markName)] = markInfo;
42 chrome.storage.local.set(item);
43}
44
45// Goto a global mark. We try to find the original tab. If we can't find that, then we try to find
46// another tab with the original URL, and use that. And if we can't find such an existing tab, then

Callers 1

createFunction · 0.85

Calls 2

setMethod · 0.80
getLocationKeyFunction · 0.70

Tested by

no test coverage detected