jitsi / js-utils

Utilities for Jitsi JS projects
Apache License 2.0
33 stars 60 forks source link

feat(browser-detect) try to detect Electron without the UA string #52

Closed saghul closed 3 years ago

saghul commented 3 years ago

If an app has overwritten the UA string we won't be able to tell it's electron. Try harder by checking if an object we expose is there.

saghul commented 3 years ago

@quitrk can you PTAL?