mirror of
https://github.com/imputnet/cobalt.git
synced 2025-07-21 20:58:28 +00:00
web/device: add user agent
This commit is contained in:
parent
fbf68144e8
commit
1393124f98
@ -21,6 +21,7 @@ const device = {
|
||||
mobile,
|
||||
},
|
||||
preferredLocale,
|
||||
userAgent: navigator.userAgent,
|
||||
}
|
||||
|
||||
const app = {
|
||||
|
@ -23,6 +23,7 @@
|
||||
is.android: {device.is.android}
|
||||
is.mobile: {device.is.mobile}
|
||||
preferredLocale: {device.preferredLocale}
|
||||
userAgent: {device.userAgent}
|
||||
</div>
|
||||
|
||||
app:
|
||||
|
Loading…
Reference in New Issue
Block a user