9 lines
149 B
JavaScript
9 lines
149 B
JavaScript
|
export function getUserAgent() {
|
||
|
try {
|
||
|
return navigator.userAgent;
|
||
|
}
|
||
|
catch (e) {
|
||
|
return "<environment unknown>";
|
||
|
}
|
||
|
}
|