blob: 3be20094217b0d89bddcfa75e468121e1c55308c [file] [log] [blame]
Derek Allard2067d1a2008-11-13 22:59:24 +00001<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
2/*
3| -------------------------------------------------------------------
4| USER AGENT TYPES
5| -------------------------------------------------------------------
6| This file contains four arrays of user agent data. It is used by the
7| User Agent Class to help identify browser, platform, robot, and
8| mobile device data. The array keys are used to identify the device
9| and the array values are used to set the actual name of the item.
10|
11*/
12
13$platforms = array (
14 'windows nt 6.0' => 'Windows Longhorn',
15 'windows nt 5.2' => 'Windows 2003',
16 'windows nt 5.0' => 'Windows 2000',
17 'windows nt 5.1' => 'Windows XP',
18 'windows nt 4.0' => 'Windows NT 4.0',
19 'winnt4.0' => 'Windows NT 4.0',
20 'winnt 4.0' => 'Windows NT',
21 'winnt' => 'Windows NT',
22 'windows 98' => 'Windows 98',
23 'win98' => 'Windows 98',
24 'windows 95' => 'Windows 95',
25 'win95' => 'Windows 95',
26 'windows' => 'Unknown Windows OS',
27 'os x' => 'Mac OS X',
28 'ppc mac' => 'Power PC Mac',
29 'freebsd' => 'FreeBSD',
30 'ppc' => 'Macintosh',
31 'linux' => 'Linux',
32 'debian' => 'Debian',
33 'sunos' => 'Sun Solaris',
34 'beos' => 'BeOS',
35 'apachebench' => 'ApacheBench',
36 'aix' => 'AIX',
37 'irix' => 'Irix',
38 'osf' => 'DEC OSF',
39 'hp-ux' => 'HP-UX',
40 'netbsd' => 'NetBSD',
41 'bsdi' => 'BSDi',
42 'openbsd' => 'OpenBSD',
43 'gnu' => 'GNU/Linux',
44 'unix' => 'Unknown Unix OS'
45 );
46
47
48// The order of this array should NOT be changed. Many browsers return
49// multiple browser types so we want to identify the sub-type first.
50$browsers = array(
Derek Allardb251c522010-01-17 16:02:01 +000051 'Flock' => 'Flock',
Derek Allardaca69952010-01-17 15:52:47 +000052 'Chrome' => 'Chrome',
Derek Allard2067d1a2008-11-13 22:59:24 +000053 'Opera' => 'Opera',
54 'MSIE' => 'Internet Explorer',
55 'Internet Explorer' => 'Internet Explorer',
56 'Shiira' => 'Shiira',
57 'Firefox' => 'Firefox',
58 'Chimera' => 'Chimera',
59 'Phoenix' => 'Phoenix',
60 'Firebird' => 'Firebird',
61 'Camino' => 'Camino',
62 'Netscape' => 'Netscape',
63 'OmniWeb' => 'OmniWeb',
Derek Allard2067d1a2008-11-13 22:59:24 +000064 'Safari' => 'Safari',
Derek Allardc3ddd3f2009-04-14 19:35:23 +000065 'Mozilla' => 'Mozilla',
Derek Allard2067d1a2008-11-13 22:59:24 +000066 'Konqueror' => 'Konqueror',
67 'icab' => 'iCab',
68 'Lynx' => 'Lynx',
69 'Links' => 'Links',
70 'hotjava' => 'HotJava',
71 'amaya' => 'Amaya',
72 'IBrowse' => 'IBrowse'
73 );
74
75$mobiles = array(
76 // legacy array, old values commented out
77 'mobileexplorer' => 'Mobile Explorer',
78// 'openwave' => 'Open Wave',
79// 'opera mini' => 'Opera Mini',
80// 'operamini' => 'Opera Mini',
81// 'elaine' => 'Palm',
82 'palmsource' => 'Palm',
83// 'digital paths' => 'Palm',
84// 'avantgo' => 'Avantgo',
85// 'xiino' => 'Xiino',
86 'palmscape' => 'Palmscape',
87// 'nokia' => 'Nokia',
88// 'ericsson' => 'Ericsson',
89// 'blackberry' => 'BlackBerry',
90// 'motorola' => 'Motorola'
91
92 // Phones and Manufacturers
93 'motorola' => "Motorola",
94 'nokia' => "Nokia",
95 'palm' => "Palm",
96 'iphone' => "Apple iPhone",
97 'ipod' => "Apple iPod Touch",
98 'sony' => "Sony Ericsson",
99 'ericsson' => "Sony Ericsson",
100 'blackberry' => "BlackBerry",
101 'cocoon' => "O2 Cocoon",
102 'blazer' => "Treo",
103 'lg' => "LG",
104 'amoi' => "Amoi",
105 'xda' => "XDA",
106 'mda' => "MDA",
107 'vario' => "Vario",
108 'htc' => "HTC",
109 'samsung' => "Samsung",
110 'sharp' => "Sharp",
111 'sie-' => "Siemens",
112 'alcatel' => "Alcatel",
113 'benq' => "BenQ",
114 'ipaq' => "HP iPaq",
115 'mot-' => "Motorola",
116 'playstation portable' => "PlayStation Portable",
117 'hiptop' => "Danger Hiptop",
118 'nec-' => "NEC",
119 'panasonic' => "Panasonic",
120 'philips' => "Philips",
121 'sagem' => "Sagem",
122 'sanyo' => "Sanyo",
123 'spv' => "SPV",
124 'zte' => "ZTE",
125 'sendo' => "Sendo",
126
127 // Operating Systems
128 'symbian' => "Symbian",
129 'SymbianOS' => "SymbianOS",
130 'elaine' => "Palm",
131 'palm' => "Palm",
132 'series60' => "Symbian S60",
133 'windows ce' => "Windows CE",
134
135 // Browsers
136 'obigo' => "Obigo",
137 'netfront' => "Netfront Browser",
138 'openwave' => "Openwave Browser",
139 'mobilexplorer' => "Mobile Explorer",
140 'operamini' => "Opera Mini",
141 'opera mini' => "Opera Mini",
142
143 // Other
144 'digital paths' => "Digital Paths",
145 'avantgo' => "AvantGo",
146 'xiino' => "Xiino",
147 'novarra' => "Novarra Transcoder",
148 'vodafone' => "Vodafone",
149 'docomo' => "NTT DoCoMo",
150 'o2' => "O2",
151
152 // Fallback
153 'mobile' => "Generic Mobile",
154 'wireless' => "Generic Mobile",
155 'j2me' => "Generic Mobile",
156 'midp' => "Generic Mobile",
157 'cldc' => "Generic Mobile",
158 'up.link' => "Generic Mobile",
159 'up.browser' => "Generic Mobile",
160 'smartphone' => "Generic Mobile",
161 'cellphone' => "Generic Mobile"
162 );
163
164// There are hundreds of bots but these are the most common.
165$robots = array(
166 'googlebot' => 'Googlebot',
167 'msnbot' => 'MSNBot',
168 'slurp' => 'Inktomi Slurp',
169 'yahoo' => 'Yahoo',
170 'askjeeves' => 'AskJeeves',
171 'fastcrawler' => 'FastCrawler',
172 'infoseek' => 'InfoSeek Robot 1.0',
173 'lycos' => 'Lycos'
174 );
175
176/* End of file user_agents.php */
Derek Jonesf0b39942010-03-25 10:08:20 -0500177/* Location: ./application/config/user_agents.php */