Glodenox / twitch-chat-monitor

Twitch Chat Monitor that allows the chat to be shown comfortably on a big monitor. Useful for room-scale streaming where the chat needs to be readable from a distance.
37 stars 9 forks source link

Allow storing other default settings in the html page #2

Closed Glodenox closed 4 years ago

Glodenox commented 4 years ago

For portability reasons it would be nice that the code in index.html allows you to override the default settings. They would still be overrideable in the settings menu and those configs would still take precedence over the configuration in index.html, but I can imagine some use cases in which this would be handy. Setting a default Twitch channel set over there comes to mind, for example.

Care should be taken to make clear that the config stored in localStorage takes precedence. Naming the config defaultConfig should convey this message partially already.