console.log browser
This commit is contained in:
parent
acc7f71ac3
commit
d4107a1f93
@ -23,6 +23,8 @@ if (userAgent.toLowerCase().includes("macintosh")) { OSDevice = "Mac OS"; }
|
||||
if (OSDevice === undefined) { OSDevice = userAgent; }
|
||||
|
||||
//браузер
|
||||
console.log(Bowser)
|
||||
console.log(Bowser.name)
|
||||
let browserUser: string;
|
||||
if (Bowser.name === "Chrome") {
|
||||
browserUser = "Chrome";
|
||||
|
Loading…
Reference in New Issue
Block a user