I tried using the get system information store the string and then use string compare if = Windows 10 (10.0.0) 64bit then show a UI box with the word "windows"
Although it works in the editor this doesn't work in Web GL.
Here is a quote from a Mac user in regard to my Web GL when playing it.
"Good news, it seems I found a problem…
Most likely you’re using Windows, but I’m using macOS… And as I know there is a difference between axises on Macs and PCs. For example, the right stick on DualShock has 4th and 6th axises on Windows and 4th and 3rd on macOS.
Also, I have the same issue with your project"
I am using windows so for me when I play everything works.
So this is proof that when playing a Web GL your operating system is taken into account.
If we could find out how this happens then possibly I can work around it.
There is also another strange quirk with a PlayStation controller, but here again only in Web GL mode.
The D-pad is mapped in both directions to Axis 10.
If you are using this controller go to the mapping scene and press the d-pad you will note your input being correct
Took a long time to figure out, but I got there in the end!