Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
5 votes
3 answers
2k views

Currently, On Windows-11 devices I'm getting navigator.userAgent value as Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.134 Safari/537.36 Edg/...
-1 votes
1 answer
87 views

I need to detect MacOS Sierra and its version number using plain javascript. Please help me out with a code snippet.
8 votes
2 answers
2k views

I am running a python script in a termux environment on an Android device and I would like to be able to detect that the OS is Android. The traditional approaches don't work: >>> import ...
ccpizza's user avatar
  • 32.5k
0 votes
0 answers
441 views

My question is about detecting ios version from server-side. Based on ios version , I will change content at cshtml. I want to check if the version is greater or equal to ios13. Pseudo code is like ...
1 vote
2 answers
3k views

I have a legacy script that depends on the value of $OSTYPE variable. What this script expects is that on Solaris the value is "SunOS" while on AIX it is "AIX". For Linux it checks the variable ...
1 vote
1 answer
1k views

I want my C code to be compiled successfully on different versions of Mac OS X. One problem I have is before OS X Yosemite I need to #include <vecLib/clapack.h> to make lapack work. However, ...
1 vote
1 answer
1k views

I would like for my WordPress post link to refer people to different pages depending on the OS that they are using. For example to download Mac version of software if they are browsing from MacOS. I ...
2 votes
3 answers
2k views

I am trying to get the OS of the visitor in PHP(Codeingiter). I tried https://github.com/serbanghita/Mobile-Detect. It worked for me 70% of the time. But still it's not detecting accurately. A good ...
0 votes
0 answers
187 views

I'd like to detect if a website visitor has the Windows 10 Anniversary Update installed. If so I want to offer a link to the app store, if not I'd like to offer a link to my legacy app install package....
2 votes
1 answer
469 views

To detect the Android OS, we could search the navigator.userAgent string for the 'Android' key word. However, my question is how to detect whether it's an Android Arm device or an Android X86 device?...
15 votes
3 answers
21k views

I was wondering why javascript os detection techniques like navigator.userAgent, navigator.appName, navigator.appVersion and navigator.platform are in process of being dropped from web standards. ...
2 votes
1 answer
394 views

Is it possible to determine on which platform (GNU/Linux, Win32, OS X) my Vala app is running?
1 vote
2 answers
14k views

I want to implement an OS detection using python (like nmap), I find python-nmap-0.3.4.tar.gz library, but it didn't provide Operating system in response! How can I change it to achieve my goal. EDIT:...
21 votes
1 answer
4k views

Right now I'm forced to resort to using uname to get the operating system name and it works. But in bash there is the OSTYPE environment variable that is automatically set and I was wondering if there ...
RubenLaguna's user avatar
  • 25.6k
0 votes
2 answers
333 views

I'm developing one-page apps. The shortcut should vary from different OSs, especially Mac OS X. Others usually combine keystroke with Ctrl, but Mac combins with Cmd. Until now, I tried to detect ...

15 30 50 per page
1
2

AltStyle によって変換されたページ (->オリジナル) /