Yes, I've heard a million times that there is no reason to want to detect OS, but I'm getting different behaviors on both Firefox and Chrome between Windows XP and the exact same browser version on Windows 7.  I've scoured the internet an...
I am trying to determine if the user's Windows 10 version is v1511 or v1607.  I tried using navigator, but that only gives me the user agent string with just Windows NT 10.0:  Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, l...
I'm getting some unexpected results when trying to create and change the working directory to a temp folder with Node.js.   Here's some code:  var path = require('path') var fse = require('fs-extra') var TEST_DIR = path.join(o...
I am try to get the users operating system and their version, So I used the navigator in javascript. By using the oscpu I can get the operating system details in firefox. But return a undefined error in chorme,  This is my code,  <script>   (fu...
One of windows in my application has the size set by administrator. I need to be sure that the window does not open with any border out of screen. By my experiments the window fills the screen when the required size in window.open (resizeTo) is large...
If it is possible to programmatically change the default PDF reader in Windows.  For example,   If the default reader was "Foxit" in my machine, But I need to change my default reader app to "Adobe" in c# or javascript. I have search...
I do know I can get some Operation system information from "navigator.userAgent" on browser side using JavaScript, and this post discus some details.  My question is when I try to identify whether user is using windows 7 or windows server 200...
Update 2: Run the script here. It will show the sample rate when clicking the "LOAD" button.    function decode() {     // If the default naming is not enabled, use the Chrome one     if (!window.AudioContext) {         if (!window.webkitAudi...
I have code to detect operating system:              var isPC = isWindows();             function isWindows(){                 return navigator.platform.indexOf('Win') > -1             }              var isMAC = isMac();             functi...
My web app has a feature where the user can hold Ctrl (Windows, ctrlKey) or Cmd (Mac, metaKey). I want to provide help text telling the user they can do this.  What's a reliable way to detect a Mac-like keyboard? Is navigator.platform.match(/mac/...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.