As a few other people and the page noted, it only works in Chrome. For Firefox, it fails when it tries to use chrome.storage. That doesn't even work in Chrome, as it's an API that can only be accessed by extensions. However, in Chrome, the chrome object is defined, so accessing chrome.storage just returns undefined instead of throwing.
It's kind of weird that it's using that when it could just use localStorage.
It's kind of weird that it's using that when it could just use localStorage.