25 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
5
votes
3
answers
2k
views
Is there methods to detect Windows-11 vs Windows-10 in Firefox browser?
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
how to detect MacOS Sierra version in plain javascript [duplicate]
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
How to detect Android OS from a Python script?
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 ...
0
votes
0
answers
441
views
How can I detect IOS version with server code at cshtml?
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
Where does the OS take the value for $OSTYPE
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
How to detect Mac OS X version using C preprocessor? [duplicate]
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
OS detection to display different links on WordPress page
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
Determining the visitor's OS in PHP
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
How to detect Windows 10 Anniversary Update on website?
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
Is there a way to distinguish Android Arm os from the Android x86 os in JavaScript?
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
Deprecated Javascript OS detection techniques
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 OS detection possible with GLib?
Is it possible to determine on which platform (GNU/Linux, Win32, OS X) my Vala app is running?
1
vote
2
answers
14k
views
remote OS detection in python
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
Is there a way to detect OS in fish shell akin to the OSTYPE variable in bash?
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 ...
0
votes
2
answers
333
views
JavaScript to detect OS in Chrome Version 37.0.2062.94
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 ...