(markName)
| 3 | // This returns the key which is used for storing mark locations in chrome.storage.sync. |
| 4 | // Exported for tests. |
| 5 | export function getLocationKey(markName) { |
| 6 | return `vimiumGlobalMark|${markName}`; |
| 7 | } |
| 8 | |
| 9 | // Get the part of a URL we use for matching here (that is, everything up to the first anchor). |
| 10 | function getBaseUrl(url) { |