Answer the question
In order to leave comments, you need to log in
Can anyone tell me if it is possible to find out the operating system with which the site was entered on Angular.js?
On the project, you need to know with what OS they are sitting on the site, who knows if this can be done without jquery)
Answer the question
In order to leave comments, you need to log in
if (navigator.appVersion.indexOf("Win")!=-1) OSName="Windows";
if (navigator.appVersion.indexOf("Mac")!=-1) OSName="MacOS";
if (navigator.appVersion.indexOf("X11")!=-1) OSName="UNIX";
if (navigator.appVersion.indexOf("Linux")!=-1) OSName="Linux";
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question