ChessCom / browser-extension

Customize your Chess.com experience
Other
48 stars 15 forks source link

Add "browser" environment variable to handle incompatibilities #86

Open emilgoldsmith opened 7 years ago

emilgoldsmith commented 7 years ago

As talked about in #79 and #52.

martynchamberlin commented 7 years ago

Not browser. OS!

martynchamberlin commented 7 years ago

Oh. Sorry. Got mixed up what we were talking about. Yes, for this, browser. :)

emilgoldsmith commented 7 years ago

Haha yeah. I guess we can only detect OS by javascript, not by distribution ;).

We can just add the environment variable in the webpack builds as we at build time know what the target browser is.