fix(web): ignore exception trying to access cookie
This change works around the problem where third-party cookies are blocked when using the keymanweb bookmark by ignoring the exception. The cookie is used to store a previous state; if we ignore the exception the user will always get the initial state of the keyboard, but at least the bookmark is usable.
Fixes: #keymanapp/r.keymanweb.com/9
Keyman makes it possible for you to type in any language
on Windows, macOS, Linux, iPhone, iPad, Android tablets and phones, and even
instantly in your web browser. Create keyboard layouts with Keyman Developer and
share them with the community in the keyboards
repository. The Keyman
Community have so far contributed
well over 1,000 keyboard layouts for over 2,500 languages!
License
Copyright (c) SIL Global.
Keyman is an open source project distributed under the MIT license.