Device and Feature Detection Sampler

This page demonstrates various device detection techniques, and provides a sample of the data returned from them. Note: The list of properties returned is not a complete list of what is available. Please see each respective technology for full information.

HTTP headers

MEF_PROXY_ADDR:
10.5.200.10
SCRIPT_URL:
/device-detection/
SCRIPT_URI:
http://www.developer.nokia.com/device-detection/
HTTP_USER_AGENT:
CCBot/2.0
HTTP_ACCEPT_LANGUAGE:
en-us,en-gb,en;q=0.7,*;q=0.3
HTTP_ACCEPT:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_X_NETLI_FORWARDED_FOR:
107.20.129.212
HTTP_PRAGMA:
no-cache
HTTP_X_AKAMAI_CONFIG_LOG_DETAIL:
true
HTTP_TE:
chunked;q=1.0
HTTP_CONNECTION:
TE
HTTP_ACCEPT_ENCODING:
gzip
HTTP_AKAMAI_ORIGIN_HOP:
2
HTTP_VIA:
1.0 v1-akamaitech.net(ghost) (AkamaiGHost), 1.1 akamai.net(ghost) (AkamaiGHost)
HTTP_X_FORWARDED_FOR:
107.20.129.212, 96.6.47.4
HTTP_HOST:
www.developer.nokia.com
HTTP_CACHE_CONTROL:
no-cache, max-age=0
HTTP_CLIENT_PORT:
80
HTTP_NS_CLIENT_IP:
195.12.233.226
SERVER_PORT:
80
REMOTE_PORT:
11271
GATEWAY_INTERFACE:
CGI/1.1
SERVER_PROTOCOL:
HTTP/1.1
REQUEST_METHOD:
GET
QUERY_STRING:
 
REQUEST_URI:
/device-detection/
SCRIPT_NAME:
/device-detection/index.php
PHP_SELF:
/device-detection/index.php
REQUEST_TIME:
1368915695

UAProf

Note: If no values are visible, this indicates that a UAProf is not available for this device.

unavailable:
n/a

CSS media queries

Note: Only one value should be visible for each feature below. If more than one value is visible, this indicates that the corresponding feature is not supported.

media-type:
screen
handheld
device-width:
*OVER* 480 pixels
*UNDER* 480 pixels
orientation:
portrait
landscape
aspect-ratio:
320x480
360x640
800x600
color:
8bit
16bit
24bit

Javascript feature detection (HTML 5)

Reminder: You will not find support for HTML 5 features on older browsers.

Javascript object detection

Note: The following only includes a small subset of the available values. Only properties of the navigator and screen objects are being displayed.

Reminder

The list of properties returned is not a complete list of what is available. Please see each respective technology for full information.