Viewer Data Storage for Extension Overlays/Components/Panels
In the context of a Twitch Extension Overlay, the API needs a way to set key value pairs for viewers of a channel not using cookies. Chroma incognito blocks setting local storage and cookies. This would be used to store overlay settings like widget sizes and positions. That way when the page refreshes, the overlay elements would persist their placements. As the great BarryCarylon said "... like Redis for Twitch Extensions".
Chrome has since stopped blocking local storage in Incognito Mode. In cases where users want to retain information across sessions while in Private Browsing or Incognito Mode, we recommend an Extension Backend Service.
-
tgraupmann
commented
Data storage would be accessible from viewer.js.