mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-28 17:38:31 +00:00
web/device: add user agent
This commit is contained in:
parent
02437a686c
commit
4759f2037c
@ -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