Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


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

Posted on 2014-01-07
Medium Priority
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
http://msdn.microsoft.com/library/ms537503.aspx, 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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 43

Assisted Solution

by:David S.
David S. earned 2000 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 43

Assisted Solution

by:David S.
David S. earned 2000 total points
ID: 39763899
If the information that you posted is correct, yes. (I can't otherwise verify information that only you can provide.)
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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 43

Accepted Solution

David S. earned 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

598 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