×
Namespaces

Variants
Actions
(Difference between revisions)

User-Agent headers for Nokia devices

From Nokia Developer Wiki
Jump to: navigation, search
miohtama (Talk | contribs)
(Added link to UA tutorial)
isalento (Talk | contribs)
Line 8: Line 8:
 
==S60 3rd Edition==
 
==S60 3rd Edition==
  
===OSS Browser (Web browser) - HTML, XHTML-MP ===
+
===OSS Browser 3.0  (Web browser) - HTML, XHTML-MP ===
  
 
In S60 3rd Edition this browser is not the default browser. It may be featured in the Active Standby menu bar or in the menu grid, but it will not be opened when URL is selected in another application (e.g. message).
 
In S60 3rd Edition this browser is not the default browser. It may be featured in the Active Standby menu bar or in the menu grid, but it will not be opened when URL is selected in another application (e.g. message).
  
 
* Original UA string on S60 3.0 Web browser:
 
* Original UA string on S60 3.0 Web browser:
<code>
+
**<tt>User-Agent: Mozilla/5.0 (SymbianOS/9.1; U; [en-us]) AppleWebKit/413 (KHTML, like Gecko) Safari/413</tt>
User-Agent: Mozilla/5.0 (SymbianOS/9.1; U; [en-us]) AppleWebKit/413 (KHTML, like Gecko) Safari/413
+
 
</code>
+
 
* "Rogue" UA strings that might ship on some uncorrected 3.0 devices:
 
* "Rogue" UA strings that might ship on some uncorrected 3.0 devices:
<code>
+
**<tt>User-Agent: Mozilla/5.0 (SymbianOS/9.1; U; [en]; SymbianOS/91 Series60/3.0) AppleWebkit/413 (KHTML, like Gecko) Safari/413</tt>
User-Agent: Mozilla/5.0 (SymbianOS/9.1; U; [en]; SymbianOS/91 Series60/3.0) AppleWebkit/413 (KHTML, like Gecko) Safari/413
+
**<tt>User-Agent: Mozilla/5.0 (SymbianOS/9.1; U; en-us) AppleWebKit/413 (KHTML, like Gecko) Safari/413 es61</tt>
User-Agent: Mozilla/5.0 (SymbianOS/9.1; U; en-us) AppleWebKit/413 (KHTML, like Gecko) Safari/413 es61
+
 
</code>
+
 
* Final UA string for newer S60 3.0 builds:
 
* Final UA string for newer S60 3.0 builds:
<code>
+
**<tt>User-Agent: Mozilla/5.0 (SymbianOS/9.1; U; [en]; Series60/3.0 NokiaE60/4.06.0) AppleWebKit/413 (KHTML, like Gecko) Safari/413</tt>
User-Agent: Mozilla/5.0 (SymbianOS/9.1; U; [en]; Series60/3.0 NokiaE60/4.06.0) AppleWebKit/413 (KHTML, like Gecko) Safari/413
+
</code>
+
  
 
===Services (WAP) Browser - XHTML-MP, WML ===
 
===Services (WAP) Browser - XHTML-MP, WML ===
Line 32: Line 28:
 
The Services browser User-Agent string follows the old format on most devices, but unfortunately there may be some variation
 
The Services browser User-Agent string follows the old format on most devices, but unfortunately there may be some variation
  
<code>
+
*<tt>NokiaN73-2/3.0-630.0.2 Series60/3.0 Profile/MIDP-2.0 Configuration/CLDC-1.1 </tt>
NokiaN73-2/3.0-630.0.2 Series60/3.0 Profile/MIDP-2.0 Configuration/CLDC-1.1
+
*<tt>NokiaN73-2/2.0626 S60/3.0 Profile/MIDP-2.0 Configuration/CLDC-1.1</tt>
or: NokiaN73-2/2.0626 S60/3.0 Profile/MIDP-2.0 Configuration/CLDC-1.1
+
*<tt>Mozilla/4.0 (compatible; MSIE 5.0; S60/3.0 NokiaN73-1/2.0(2.0617.0.0.7) Profile/MIDP-2.0 Configuration/CLDC-1.1)</tt>
or: Mozilla/4.0 (compatible; MSIE 5.0; S60/3.0 NokiaN73-1/2.0(2.0617.0.0.7) Profile/MIDP-2.0 Configuration/CLDC-1.1)
+
</code>
+
  
 
==S60 3rd Edition Feature Pack 1==
 
==S60 3rd Edition Feature Pack 1==
 +
In S60 3rd Edition Feature Pack 1 the Nokia Web browser (OSS 3.1) is the only browser included. All invocation of a browser will launch this browser.
  
In S60 3rd Edition Feature Pack 1 the Nokia Web browser is the only browser included. All invocation of a browser will launch this browser.
+
=== OSS Browser 3.1   ===
 
+
 
The User-Agent header for the browser is:
 
The User-Agent header for the browser is:
<code>
+
 
Mozilla/5.0 (SymbianOS/9.2; U; Series60/3.1 NokiaXxx/1.0; Profile/MIDP-2.0 Configuration/CLDC-1.1) AppleWebKit/413 (KHTML, like Gecko) Safari/413
+
*<tt>Mozilla/5.0 (SymbianOS/9.2; U; Series60/3.1 NokiaXxx/1.0; Profile/MIDP-2.0 Configuration/CLDC-1.1) AppleWebKit/413 (KHTML, like Gecko) Safari/413
</code>
+
</tt>
 +
 
 +
==S60 3rd Edition Feature Pack 2 ==
 +
S60 3rd Edition FP2 devices can either use OSS Browser 3.2 or Browser 7.1. Early 3.2 devices were shipped with OSS Browser 3.2, but some of them may be upgraded to Browser 7.1 via firmware update. 7.1 browser is pre-installed in the following 3.2 devices: Nokia 6710 Navigator, Nokia 6730 classic, Nokia N86, Nokia E52, Nokia E55, and Nokia E72. For Browser 7.1 user agent please see [[http://wiki.forum.nokia.com/index.php?title=User-Agent_headers_for_Nokia_devices&action=submit#Browser_7.1 Browser 7.1]].
 +
 
 +
===OSS Browser 3.2===
 +
 
 +
* OSS Browser 3.2 on E75
 +
**<tt>Mozilla/5.0 (SymbianOS/9.3; U; Series60/3.2 NokiaE75-1/110.48.125 Profile/MIDP-2.1 Configuration/CLDC-1.1 ) AppleWebKit/413 (KHTML, like Gecko) Safari/413</tt>
 +
 
 +
==S60 5th Edition==
 +
S60 5th edition devices can either use Browser 7.0 or Browser 7.1.
 +
 
 +
=== Browser 7.0  ===
 +
Browser 7.0 is used on 5800 XpressMusic, 5530 XpressMusic and Nokia 5230.
 +
*7.0 Browser (Nokia 5800 XpressMusic (v21.0.025))
 +
**<tt>Mozilla/5.0 (SymbianOS/9.4; U; Series60/5.0 Nokia5800d-1/21.0.025; Profile/MIDP-2.1 Configuration/CLDC-1.1 ) AppleWebKit/413 (KHTML, like Gecko) Safari/413</tt>
 +
 
 +
=== Browser 7.1 ===
 +
7.1 Browser is used by N97, N97-mini and various 3.2.3 devices
 +
*Browser 7.1 (Nokia N97 (v12.0.024))
 +
**<tt>Mozilla/5.0 (SymbianOS/9.4; Series60/5.0 NokiaN97-1/12.0.024; Profile/MIDP-2.1 Configuration/CLDC-1.1; en-us) AppleWebKit/525 (KHTML, like Gecko) BrowserNG/7.1.12344</tt>
  
 
=List of User Agent headers=
 
=List of User Agent headers=
Line 71: Line 86:
  
 
=Default browsers and custom application=
 
=Default browsers and custom application=
 
+
*'''Opera Mini 5 Beta: '''<tt>Opera/9.80 (J2ME/MIDP; Opera Mini/5.0.15650/756; U; en) Presto/2.2.0</tt><br/>
'''Opera Mini 8''': Opera/8.01 (J2ME/MIDP; Opera Mini/3.0.6306/1528; en; U; ssr)<br/>
+
*'''Opera Mini 8: ''' <tt>Opera/8.01 (J2ME/MIDP; Opera Mini/3.0.6306/1528; en; U; ssr)</tt><br/>
'''Mozilla Compatible''':Mozilla/4.1 (compatible; MSIE 5.0; Symbian OS; Nokia 6600;452) Opera 6.20 [en-US]<br/>
+
*'''Mozilla Compatible: '''<tt>Mozilla/4.1 (compatible; MSIE 5.0; Symbian OS; Nokia 6600;452) Opera 6.20 [en-US]</tt><br/>
 
<br/>
 
<br/>
  
 
=Other references=
 
=Other references=
 +
 +
Browser comparison table
 +
[http://library.forum.nokia.com/index.jsp?topic=/Web_Developers_Library/GUID-D5C6212A-5EF2-44BF-B1F0-650A5F57D501.html Web Browser for S60 versions and device support]
  
 
For a somewhat outdated listing of Nokia Devices Header information go to the
 
For a somewhat outdated listing of Nokia Devices Header information go to the
Line 84: Line 102:
 
[http://discussion.forum.nokia.com/forum/showthread.php?t=90232]
 
[http://discussion.forum.nokia.com/forum/showthread.php?t=90232]
 
[http://discussion.forum.nokia.com/forum/showthread.php?t=90610]
 
[http://discussion.forum.nokia.com/forum/showthread.php?t=90610]
 +
 +
Official discussion thread for Browser 7.1
 +
[http://discussion.forum.nokia.com/forum/showthread.php?t=174726]
  
 
Also most of the [http://forum.nokia.com/devices Forum Nokia device specification pages] contain a link to a UAProf page (which in return contains User Agent Header)
 
Also most of the [http://forum.nokia.com/devices Forum Nokia device specification pages] contain a link to a UAProf page (which in return contains User Agent Header)

Revision as of 12:58, 12 October 2009

When browser connects to a specific page, it sends in it's header it's user agent (the browser/mobile ID) which can be used to the page to display better results, etc. User Agent is defined by RFC 1945 and RFC 2068. This is a sample of the string:

//HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt)

Contents

User Agent header rules

S60 3rd Edition

OSS Browser 3.0 (Web browser) - HTML, XHTML-MP

In S60 3rd Edition this browser is not the default browser. It may be featured in the Active Standby menu bar or in the menu grid, but it will not be opened when URL is selected in another application (e.g. message).

  • Original UA string on S60 3.0 Web browser:
    • User-Agent: Mozilla/5.0 (SymbianOS/9.1; U; [en-us]) AppleWebKit/413 (KHTML, like Gecko) Safari/413
  • "Rogue" UA strings that might ship on some uncorrected 3.0 devices:
    • User-Agent: Mozilla/5.0 (SymbianOS/9.1; U; [en]; SymbianOS/91 Series60/3.0) AppleWebkit/413 (KHTML, like Gecko) Safari/413
    • User-Agent: Mozilla/5.0 (SymbianOS/9.1; U; en-us) AppleWebKit/413 (KHTML, like Gecko) Safari/413 es61
  • Final UA string for newer S60 3.0 builds:
    • User-Agent: Mozilla/5.0 (SymbianOS/9.1; U; [en]; Series60/3.0 NokiaE60/4.06.0) AppleWebKit/413 (KHTML, like Gecko) Safari/413

Services (WAP) Browser - XHTML-MP, WML

The original S60 WAP browser is still the default browser in S60 3rd Edition, but has been renamed “Services” (in S60 2nd Edition it is called “Web”).

The Services browser User-Agent string follows the old format on most devices, but unfortunately there may be some variation

  • NokiaN73-2/3.0-630.0.2 Series60/3.0 Profile/MIDP-2.0 Configuration/CLDC-1.1
  • NokiaN73-2/2.0626 S60/3.0 Profile/MIDP-2.0 Configuration/CLDC-1.1
  • Mozilla/4.0 (compatible; MSIE 5.0; S60/3.0 NokiaN73-1/2.0(2.0617.0.0.7) Profile/MIDP-2.0 Configuration/CLDC-1.1)

S60 3rd Edition Feature Pack 1

In S60 3rd Edition Feature Pack 1 the Nokia Web browser (OSS 3.1) is the only browser included. All invocation of a browser will launch this browser.

OSS Browser 3.1

The User-Agent header for the browser is:

  • Mozilla/5.0 (SymbianOS/9.2; U; Series60/3.1 NokiaXxx/1.0; Profile/MIDP-2.0 Configuration/CLDC-1.1) AppleWebKit/413 (KHTML, like Gecko) Safari/413

S60 3rd Edition Feature Pack 2

S60 3rd Edition FP2 devices can either use OSS Browser 3.2 or Browser 7.1. Early 3.2 devices were shipped with OSS Browser 3.2, but some of them may be upgraded to Browser 7.1 via firmware update. 7.1 browser is pre-installed in the following 3.2 devices: Nokia 6710 Navigator, Nokia 6730 classic, Nokia N86, Nokia E52, Nokia E55, and Nokia E72. For Browser 7.1 user agent please see [Browser 7.1].

OSS Browser 3.2

  • OSS Browser 3.2 on E75
    • Mozilla/5.0 (SymbianOS/9.3; U; Series60/3.2 NokiaE75-1/110.48.125 Profile/MIDP-2.1 Configuration/CLDC-1.1 ) AppleWebKit/413 (KHTML, like Gecko) Safari/413

S60 5th Edition

S60 5th edition devices can either use Browser 7.0 or Browser 7.1.

Browser 7.0

Browser 7.0 is used on 5800 XpressMusic, 5530 XpressMusic and Nokia 5230.

  • 7.0 Browser (Nokia 5800 XpressMusic (v21.0.025))
    • Mozilla/5.0 (SymbianOS/9.4; U; Series60/5.0 Nokia5800d-1/21.0.025; Profile/MIDP-2.1 Configuration/CLDC-1.1 ) AppleWebKit/413 (KHTML, like Gecko) Safari/413

Browser 7.1

7.1 Browser is used by N97, N97-mini and various 3.2.3 devices

  • Browser 7.1 (Nokia N97 (v12.0.024))
    • Mozilla/5.0 (SymbianOS/9.4; Series60/5.0 NokiaN97-1/12.0.024; Profile/MIDP-2.1 Configuration/CLDC-1.1; en-us) AppleWebKit/525 (KHTML, like Gecko) BrowserNG/7.1.12344

List of User Agent headers

This is a list of browser user-agents for Nokia devices. For a complete list and other devices, check Zytrax.

N90: NokiaN90-1/3.0545.5.1 Series60/2.8 Profile/MIDP-2.0 Configuration/CLDC-1.1
3200: Nokia3200/1.0 (5.29) Profile/MIDP-1.0 Configuration/CLDC-1.0 UP.Link/6.3.1.13.0
N80: NokiaN80-3/1.0552.0.7Series60/3.0Profile/MIDP-2.0Configuration/CLDC-1.1
7610: Nokia7610/2.0 (5.0509.0) SymbianOS/7.0s Series60/2.1 Profile/MIDP-2.0 Configuration/CLDC-1.0
6600: Nokia6600/1.0 (5.27.0) SymbianOS/7.0s Series60/2.0 Profile/MIDP-2.0 Configuration/CLDC-1
6680: Nokia6680/1.0 (4.04.07) SymbianOS/8.0 Series60/2.6 Profile/MIDP-2.0 Configuration/CLDC-1.1
6230: Nokia6230/2.0+(04.43)+Profile/MIDP-2.0+Configuration/CLDC-1.1+UP.Link/6.3.0.0.0
6630: Nokia6630/1.0 (2.3.129) SymbianOS/8.0 Series60/2.6 Profile/MIDP-2.0 Configuration/CLDC-1.1
7600: Nokia7600/2.0 (03.01) Profile/MIDP-1.0 Configuration/CLDC-1.0 (Google WAP Proxy/1.0)
N-GAGE: NokiaN-Gage/1.0 SymbianOS/6.1 Series60/1.2 Profile/MIDP-1.0 Configuration/CLDC-1.0
5140: Nokia5140/2.0 (3.10) Profile/MIDP-2.0 Configuration/CLDC-1.1
3519i: Nokia3510i/1.0 (04.44) Profile/MIDP-1.0 Configuration/CLDC-1.0
7250i: Nokia7250i/1.0 (3.22) Profile/MIDP-1.0 Configuration/CLDC-1.0
7250: Nokia7250/1.0 (3.14) Profile/MIDP-1.0 Configuration/CLDC-1.0
6800: Nokia6800/2.0 (4.17) Profile/MIDP-1.0 Configuration/CLDC-1.0 UP.Link/5.1.2.9
3650: Nokia3650/1.0 SymbianOS/6.1 Series60/1.2 Profile/MIDP-1.0 Configuration/CLDC-1.0
8310: Nokia8310/1.0 (05.11) UP.Link/6.5.0.0.06.5.0.0.06.5.0.0.06.5.0.0.0

Default browsers and custom application

  • Opera Mini 5 Beta: Opera/9.80 (J2ME/MIDP; Opera Mini/5.0.15650/756; U; en) Presto/2.2.0
  • Opera Mini 8: Opera/8.01 (J2ME/MIDP; Opera Mini/3.0.6306/1528; en; U; ssr)
  • Mozilla Compatible: Mozilla/4.1 (compatible; MSIE 5.0; Symbian OS; Nokia 6600;452) Opera 6.20 [en-US]


Other references

Browser comparison table Web Browser for S60 versions and device support

For a somewhat outdated listing of Nokia Devices Header information go to the Forum Nokia Browser Feature Table

Some more detailed information in these sticky threads [1] [2]

Official discussion thread for Browser 7.1 [3]

Also most of the Forum Nokia device specification pages contain a link to a UAProf page (which in return contains User Agent Header)


External Links: Zytrax
User agent headers and mobile handset capability detection

10902 page views in the last 30 days.
×