User-agent and navigator.platform, WOW64 on notebook computer

Posted on 2014-01-07
Last Modified: 2014-01-12
Dear Experts,
I have used the following javascript code to get all browser and my computer infomation
I got the user-agent  and platform as follows
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36
Platform: Win32
After checking user-agent defination on this site of MS, where "WOW64" means
A 32-bit version of Internet Explorer is running on a 64-bit processor
and Windows NT6.1 means Window 7 operation system
so I go to check my notebook intel CPU, Intel(R) Pentium(R) CPU at
which said the instruction set is 64 bit and dual cores .

My question is
Question-1: My intel process is 64 bit CPU processor, right ? If right, "WOW64" is correct
on my notebook since I am using window7(Windows NT 6.1) which is window 32-bit described on javascript code of navigator.platform(Win).

Question-2: If what I said on question-1 all are correct, I should need to re-install
window 7 for 64 bit instead of  32 bit in order to speed up my window process, Right ?

Question-3: I don't know why my notebook will install 32-bit window 7 with intel 64 bit
processor ? Is it because the computer  vendor wants to save cost for selling ?

Please advise and hope you understand my question


javascript extract User-Agent and Platform
var nVer = navigator.appVersion;
var nAgt = navigator.userAgent;
var browserName  = navigator.appName;
var fullVersion  = ''+parseFloat(navigator.appVersion); 
var majorVersion = parseInt(navigator.appVersion,10);
var nameOffset,verOffset,ix;

// In Opera, the true version is after "Opera" or after "Version"
if ((verOffset=nAgt.indexOf("Opera"))!=-1) {
 browserName = "Opera";
 fullVersion = nAgt.substring(verOffset+6);
 if ((verOffset=nAgt.indexOf("Version"))!=-1) 
   fullVersion = nAgt.substring(verOffset+8);
// In MSIE, the true version is after "MSIE" in userAgent
else if ((verOffset=nAgt.indexOf("MSIE"))!=-1) {
 browserName = "Microsoft Internet Explorer";
 fullVersion = nAgt.substring(verOffset+5);
// In Chrome, the true version is after "Chrome" 
else if ((verOffset=nAgt.indexOf("Chrome"))!=-1) {
 browserName = "Chrome";
 fullVersion = nAgt.substring(verOffset+7);
// In Safari, the true version is after "Safari" or after "Version" 
else if ((verOffset=nAgt.indexOf("Safari"))!=-1) {
 browserName = "Safari";
 fullVersion = nAgt.substring(verOffset+7);
 if ((verOffset=nAgt.indexOf("Version"))!=-1) 
   fullVersion = nAgt.substring(verOffset+8);
// In Firefox, the true version is after "Firefox" 
else if ((verOffset=nAgt.indexOf("Firefox"))!=-1) {
 browserName = "Firefox";
 fullVersion = nAgt.substring(verOffset+8);
// In most other browsers, "name/version" is at the end of userAgent 
else if ( (nameOffset=nAgt.lastIndexOf(' ')+1) < 
          (verOffset=nAgt.lastIndexOf('/')) ) 
 browserName = nAgt.substring(nameOffset,verOffset);
 fullVersion = nAgt.substring(verOffset+1);
 if (browserName.toLowerCase()==browserName.toUpperCase()) {
  browserName = navigator.appName;
// trim the fullVersion string at semicolon/space if present
if ((ix=fullVersion.indexOf(";"))!=-1)
if ((ix=fullVersion.indexOf(" "))!=-1)

majorVersion = parseInt(''+fullVersion,10);
if (isNaN(majorVersion)) {
 fullVersion  = ''+parseFloat(navigator.appVersion); 
 majorVersion = parseInt(navigator.appVersion,10);

txt ="<p id='pd0'>Browser name  ="+browserName+'</p>';
txt+="<p id='pd1'>Full version  = "+fullVersion+'</p>'
txt+="<p id='pd2'>Major version = "+majorVersion+'</p>'
txt+="<p id='pd3'>navigator.appName = "+navigator.appName+'</p>'
txt+="<p id='pd4'>navigator.userAgent = "+navigator.userAgent+'</p>'

txt+= "<p id='pd5'>Browser CodeName: " + navigator.appCodeName + "</p>";
txt+= "<p id='pd6'>Browser Name: " + navigator.appName + "</p>";
txt+= "<p id='pd7'>Browser Version: " + navigator.appVersion + "</p>";
txt+= "<p id='pd8'>Cookies Enabled: " + navigator.cookieEnabled + "</p>";
txt+= "<p id='pd9'>Platform: " + navigator.platform + "</p>";
txt+= "<p id='pd10'>User-agent header: " + navigator.userAgent + "</p>";

document.write("<div id='browser'>"+txt+"</div>");

Open in new window

Question by:duncanb7
  • 3
  • 3
LVL 42

Assisted Solution

by:David S.
David S. earned 500 total points
ID: 39763808
Only switching from 32-bit Windows to 64-bit Windows won't improve your speed and if you have less than 4GB of RAM installed, will reduce the amount of available RAM for applications to use. The main advantage of 64-bit Windows is being able to use more than the approximately 3.3GB of RAM that can be used with 32-bit operating systems. So unless you upgrade to 8GB of RAM (which is the maximum that that processor supports), there is no benefit to using 64-bit Windows.

64-bit web browsers have problems with 32-bit plugin compatibility, so most people using 64-bit operating systems still use 32-bit web browsers.

Also 64-bit Windows is backwards compatible with 32-bit applications, but not old 16-bit applications.
LVL 13

Author Comment

ID: 39763895
So my CPU is intel 64 bit, right ?
LVL 42

Assisted Solution

by:David S.
David S. earned 500 total points
ID: 39763899
If the information that you posted is correct, yes. (I can't otherwise verify information that only you can provide.)
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

LVL 13

Author Comment

ID: 39763902
So is it strange, 64 bit CPU not using 64-bit window system/or other 64 bit system ?
probably, you mean 32 bit and 64 bit window system is not different on Intel 64 bit proccessor if the RAM is less than 4GB, right ?
LVL 42

Accepted Solution

David S. earned 500 total points
ID: 39763936
Yes, it seems strange at first, but really it's very common.

64-bit desktop and laptop/notebook Intel and AMD processors are made to be backwards compatible.

There are other differences but the maximum amount of RAM supported by the operating system is the biggest one. 64-bit programs won't work on a 32-bit operating system. However, I'm not aware of any applications that only have 64-bit versions at this time. Also, at least with Windows Virtual PC, 32-bit Windows can not host virtual machines running 64-bit operating systems.
LVL 13

Author Closing Comment

ID: 39774398
Thanks for your reply

Have a nice day


Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question