That is the purpose, yeah. Note that this is the about:home JS: The whole issue is that they removed the ability to use localStorage in about:home, but provided a wrapper in `gSnippetsMap` around IndexedDB. So we want to use that if localStorage isn't supported, but if it is, then we want to wrap it with our own gSnippetsMap.

The reason we can't just test for gSnippetsMap is that it exists in versions before they removed localStorage, and is a wrapper around localStorage with an important difference: they only load 3 variables from localStorage, so when we try to use gSnippetsMap to read our geolocation variables later on in the file, we won't get anything because because their wrapper didn't load it from localStorage. Thus I created our own wrapper that doesn't bother loading certain variables from localStorage and just wraps it directly.

Do you have any suggestions for a better feature detect here?