blob: 9080b43f6004bbcff422db0449e73365f4c3a6a7 [file] [log] [blame]
Derek Jones4b9c6292011-07-01 17:40:48 -05001<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
Derek Allard2067d1a2008-11-13 22:59:24 +00002/*
3| -------------------------------------------------------------------
4| USER AGENT TYPES
5| -------------------------------------------------------------------
Derek Jones4b9c6292011-07-01 17:40:48 -05006| This file contains four arrays of user agent data. It is used by the
Derek Allard2067d1a2008-11-13 22:59:24 +00007| User Agent Class to help identify browser, platform, robot, and
Derek Jones4b9c6292011-07-01 17:40:48 -05008| mobile device data. The array keys are used to identify the device
Derek Allard2067d1a2008-11-13 22:59:24 +00009| and the array values are used to set the actual name of the item.
10|
11*/
12
13$platforms = array (
mmestrovic995af492011-08-31 17:25:27 +030014 'windows nt 6.1' => 'Windows 7',
15 'windows nt 6.0' => 'Windows Vista',
Derek Allard2067d1a2008-11-13 22:59:24 +000016 'windows nt 5.2' => 'Windows 2003',
Derek Allard2067d1a2008-11-13 22:59:24 +000017 'windows nt 5.1' => 'Windows XP',
mmestrovic995af492011-08-31 17:25:27 +030018 'windows nt 5.0' => 'Windows 2000',
Derek Allard2067d1a2008-11-13 22:59:24 +000019 'windows nt 4.0' => 'Windows NT 4.0',
mmestrovic995af492011-08-31 17:25:27 +030020 'winnt4.0' => 'Windows NT 4.0',
21 'winnt 4.0' => 'Windows NT',
22 'winnt' => 'Windows NT',
Derek Allard2067d1a2008-11-13 22:59:24 +000023 'windows 98' => 'Windows 98',
mmestrovic995af492011-08-31 17:25:27 +030024 'win98' => 'Windows 98',
Derek Allard2067d1a2008-11-13 22:59:24 +000025 'windows 95' => 'Windows 95',
mmestrovic995af492011-08-31 17:25:27 +030026 'win95' => 'Windows 95',
27 'windows' => 'Unknown Windows OS',
28 'os x' => 'Mac OS X',
29 'ppc mac' => 'Power PC Mac',
30 'freebsd' => 'FreeBSD',
31 'ppc' => 'Macintosh',
32 'linux' => 'Linux',
33 'debian' => 'Debian',
34 'sunos' => 'Sun Solaris',
35 'beos' => 'BeOS',
Derek Allard2067d1a2008-11-13 22:59:24 +000036 'apachebench' => 'ApacheBench',
mmestrovic995af492011-08-31 17:25:27 +030037 'aix' => 'AIX',
38 'irix' => 'Irix',
39 'osf' => 'DEC OSF',
40 'hp-ux' => 'HP-UX',
41 'netbsd' => 'NetBSD',
42 'bsdi' => 'BSDi',
43 'openbsd' => 'OpenBSD',
44 'gnu' => 'GNU/Linux',
45 'unix' => 'Unknown Unix OS'
Derek Allard2067d1a2008-11-13 22:59:24 +000046 );
47
48
49// The order of this array should NOT be changed. Many browsers return
50// multiple browser types so we want to identify the sub-type first.
51$browsers = array(
mmestrovic995af492011-08-31 17:25:27 +030052 'Flock' => 'Flock',
53 'Chrome' => 'Chrome',
54 'Opera' => 'Opera',
55 'MSIE' => 'Internet Explorer',
Derek Allard2067d1a2008-11-13 22:59:24 +000056 'Internet Explorer' => 'Internet Explorer',
mmestrovic995af492011-08-31 17:25:27 +030057 'Shiira' => 'Shiira',
58 'Firefox' => 'Firefox',
59 'Chimera' => 'Chimera',
60 'Phoenix' => 'Phoenix',
61 'Firebird' => 'Firebird',
62 'Camino' => 'Camino',
63 'Netscape' => 'Netscape',
64 'OmniWeb' => 'OmniWeb',
65 'Safari' => 'Safari',
66 'Mozilla' => 'Mozilla',
67 'Konqueror' => 'Konqueror',
68 'icab' => 'iCab',
69 'Lynx' => 'Lynx',
70 'Links' => 'Links',
71 'hotjava' => 'HotJava',
72 'amaya' => 'Amaya',
73 'IBrowse' => 'IBrowse'
Derek Allard2067d1a2008-11-13 22:59:24 +000074 );
75
76$mobiles = array(
77 // legacy array, old values commented out
78 'mobileexplorer' => 'Mobile Explorer',
mmestrovic995af492011-08-31 17:25:27 +030079// 'openwave' => 'Open Wave',
Derek Allard2067d1a2008-11-13 22:59:24 +000080// 'opera mini' => 'Opera Mini',
mmestrovic995af492011-08-31 17:25:27 +030081// 'operamini' => 'Opera Mini',
82// 'elaine' => 'Palm',
Derek Allard2067d1a2008-11-13 22:59:24 +000083 'palmsource' => 'Palm',
84// 'digital paths' => 'Palm',
mmestrovic995af492011-08-31 17:25:27 +030085// 'avantgo' => 'Avantgo',
86// 'xiino' => 'Xiino',
87 'palmscape' => 'Palmscape',
88// 'nokia' => 'Nokia',
89// 'ericsson' => 'Ericsson',
Derek Allard2067d1a2008-11-13 22:59:24 +000090// 'blackberry' => 'BlackBerry',
mmestrovic995af492011-08-31 17:25:27 +030091// 'motorola' => 'Motorola'
Derek Allard2067d1a2008-11-13 22:59:24 +000092
93 // Phones and Manufacturers
mmestrovic995af492011-08-31 17:25:27 +030094 'motorola' => "Motorola",
95 'nokia' => "Nokia",
96 'palm' => "Palm",
97 'iphone' => "Apple iPhone",
98 'ipad' => "iPad",
99 'ipod' => "Apple iPod Touch",
100 'sony' => "Sony Ericsson",
101 'ericsson' => "Sony Ericsson",
Derek Allard2067d1a2008-11-13 22:59:24 +0000102 'blackberry' => "BlackBerry",
mmestrovic995af492011-08-31 17:25:27 +0300103 'cocoon' => "O2 Cocoon",
104 'blazer' => "Treo",
105 'lg' => "LG",
106 'amoi' => "Amoi",
107 'xda' => "XDA",
108 'mda' => "MDA",
109 'vario' => "Vario",
110 'htc' => "HTC",
111 'samsung' => "Samsung",
112 'sharp' => "Sharp",
113 'sie-' => "Siemens",
114 'alcatel' => "Alcatel",
115 'benq' => "BenQ",
116 'ipaq' => "HP iPaq",
117 'mot-' => "Motorola",
Barry Mienydd671972010-10-04 16:33:58 +0200118 'playstation portable' => "PlayStation Portable",
mmestrovic995af492011-08-31 17:25:27 +0300119 'hiptop' => "Danger Hiptop",
120 'nec-' => "NEC",
121 'panasonic' => "Panasonic",
122 'philips' => "Philips",
123 'sagem' => "Sagem",
124 'sanyo' => "Sanyo",
125 'spv' => "SPV",
126 'zte' => "ZTE",
127 'sendo' => "Sendo",
Derek Allard2067d1a2008-11-13 22:59:24 +0000128
mmestrovic995af492011-08-31 17:25:27 +0300129// Operating Systems
130 'android' => "Android",
131 'symbian' => "Symbian",
132 'SymbianOS' => "SymbianOS",
133 'elaine' => "Palm",
134 'palm' => "Palm",
135 'series60' => "Symbian S60",
136 'windows ce' => "Windows CE",
Derek Allard2067d1a2008-11-13 22:59:24 +0000137
138 // Browsers
mmestrovic995af492011-08-31 17:25:27 +0300139 'obigo' => "Obigo",
140 'netfront' => "Netfront Browser",
141 'openwave' => "Openwave Browser",
142 'mobilexplorer' => "Mobile Explorer",
143 'operamini' => "Opera Mini",
144 'opera mini' => "Opera Mini",
Derek Allard2067d1a2008-11-13 22:59:24 +0000145
146 // Other
mmestrovic995af492011-08-31 17:25:27 +0300147 'digital paths' => "Digital Paths",
148 'avantgo' => "AvantGo",
149 'xiino' => "Xiino",
150 'novarra' => "Novarra Transcoder",
151 'vodafone' => "Vodafone",
152 'docomo' => "NTT DoCoMo",
153 'o2' => "O2",
Derek Allard2067d1a2008-11-13 22:59:24 +0000154
155 // Fallback
mmestrovic995af492011-08-31 17:25:27 +0300156 'mobile' => "Generic Mobile",
157 'wireless' => "Generic Mobile",
158 'j2me' => "Generic Mobile",
159 'midp' => "Generic Mobile",
160 'cldc' => "Generic Mobile",
161 'up.link' => "Generic Mobile",
162 'up.browser' => "Generic Mobile",
163 'smartphone' => "Generic Mobile",
164 'cellphone' => "Generic Mobile"
Derek Allard2067d1a2008-11-13 22:59:24 +0000165 );
166
167// There are hundreds of bots but these are the most common.
168$robots = array(
mmestrovic995af492011-08-31 17:25:27 +0300169 'googlebot' => 'Googlebot',
170 'msnbot' => 'MSNBot',
171 'slurp' => 'Inktomi Slurp',
172 'yahoo' => 'Yahoo',
173 'askjeeves' => 'AskJeeves',
Derek Allard2067d1a2008-11-13 22:59:24 +0000174 'fastcrawler' => 'FastCrawler',
mmestrovic995af492011-08-31 17:25:27 +0300175 'infoseek' => 'InfoSeek Robot 1.0',
176 'lycos' => 'Lycos'
Derek Allard2067d1a2008-11-13 22:59:24 +0000177 );
178
179/* End of file user_agents.php */
Derek Jonesf0b39942010-03-25 10:08:20 -0500180/* Location: ./application/config/user_agents.php */