TeselaGen / openVectorEditor

DEPRECATED - Teselagen's Open Source Vector/Plasmid Editor Component
https://teselagen.github.io/tg-oss/ove/#/Editor
MIT License
200 stars 72 forks source link

Usage of navigator.userAgent #884

Closed NicolasCARPi closed 1 year ago

NicolasCARPi commented 1 year ago

Hello @tnrich,

I'm using OVE in eLabFTW and came across this warning in Chrome dev tools:

bug-ove

Given that navigator.userAgentData is not yet supported in Safari and Firefox, and that navigator.userAgent might be enough for your use case, this issue is probably not a big deal, but I wanted to let you know in case you want to brush up the user agent detection in your codebase.

Best, ~Nico

tnrich commented 1 year ago

Hi @NicolasCARPi thanks for the heads up!

tnrich commented 1 year ago

Given what you said above about the lack of support for userAgentData in safari/firefox, I think I'll wait until this becomes an issue for someone. Maybe by that time userAgentData will be supported universally. Cheers!