blob: a1becd98f5ae35cd8d5813e6229411ba54ef6aed [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 Allardaca69952010-01-17 15:52:47 +000051 'Chrome' => 'Chrome',
Derek Allard2067d1a2008-11-13 22:59:24 +000052 'Opera' => 'Opera',
53 'MSIE' => 'Internet Explorer',
54 'Internet Explorer' => 'Internet Explorer',
55 'Shiira' => 'Shiira',
56 'Firefox' => 'Firefox',
57 'Chimera' => 'Chimera',
58 'Phoenix' => 'Phoenix',
59 'Firebird' => 'Firebird',
60 'Camino' => 'Camino',
61 'Netscape' => 'Netscape',
62 'OmniWeb' => 'OmniWeb',
Derek Allard2067d1a2008-11-13 22:59:24 +000063 'Safari' => 'Safari',
Derek Allardc3ddd3f2009-04-14 19:35:23 +000064 'Mozilla' => 'Mozilla',
Derek Allard2067d1a2008-11-13 22:59:24 +000065 'Konqueror' => 'Konqueror',
66 'icab' => 'iCab',
67 'Lynx' => 'Lynx',
68 'Links' => 'Links',
69 'hotjava' => 'HotJava',
70 'amaya' => 'Amaya',
71 'IBrowse' => 'IBrowse'
72 );
73
74$mobiles = array(
75 // legacy array, old values commented out
76 'mobileexplorer' => 'Mobile Explorer',
77// 'openwave' => 'Open Wave',
78// 'opera mini' => 'Opera Mini',
79// 'operamini' => 'Opera Mini',
80// 'elaine' => 'Palm',
81 'palmsource' => 'Palm',
82// 'digital paths' => 'Palm',
83// 'avantgo' => 'Avantgo',
84// 'xiino' => 'Xiino',
85 'palmscape' => 'Palmscape',
86// 'nokia' => 'Nokia',
87// 'ericsson' => 'Ericsson',
88// 'blackberry' => 'BlackBerry',
89// 'motorola' => 'Motorola'
90
91 // Phones and Manufacturers
92 'motorola' => "Motorola",
93 'nokia' => "Nokia",
94 'palm' => "Palm",
95 'iphone' => "Apple iPhone",
96 'ipod' => "Apple iPod Touch",
97 'sony' => "Sony Ericsson",
98 'ericsson' => "Sony Ericsson",
99 'blackberry' => "BlackBerry",
100 'cocoon' => "O2 Cocoon",
101 'blazer' => "Treo",
102 'lg' => "LG",
103 'amoi' => "Amoi",
104 'xda' => "XDA",
105 'mda' => "MDA",
106 'vario' => "Vario",
107 'htc' => "HTC",
108 'samsung' => "Samsung",
109 'sharp' => "Sharp",
110 'sie-' => "Siemens",
111 'alcatel' => "Alcatel",
112 'benq' => "BenQ",
113 'ipaq' => "HP iPaq",
114 'mot-' => "Motorola",
115 'playstation portable' => "PlayStation Portable",
116 'hiptop' => "Danger Hiptop",
117 'nec-' => "NEC",
118 'panasonic' => "Panasonic",
119 'philips' => "Philips",
120 'sagem' => "Sagem",
121 'sanyo' => "Sanyo",
122 'spv' => "SPV",
123 'zte' => "ZTE",
124 'sendo' => "Sendo",
125
126 // Operating Systems
127 'symbian' => "Symbian",
128 'SymbianOS' => "SymbianOS",
129 'elaine' => "Palm",
130 'palm' => "Palm",
131 'series60' => "Symbian S60",
132 'windows ce' => "Windows CE",
133
134 // Browsers
135 'obigo' => "Obigo",
136 'netfront' => "Netfront Browser",
137 'openwave' => "Openwave Browser",
138 'mobilexplorer' => "Mobile Explorer",
139 'operamini' => "Opera Mini",
140 'opera mini' => "Opera Mini",
141
142 // Other
143 'digital paths' => "Digital Paths",
144 'avantgo' => "AvantGo",
145 'xiino' => "Xiino",
146 'novarra' => "Novarra Transcoder",
147 'vodafone' => "Vodafone",
148 'docomo' => "NTT DoCoMo",
149 'o2' => "O2",
150
151 // Fallback
152 'mobile' => "Generic Mobile",
153 'wireless' => "Generic Mobile",
154 'j2me' => "Generic Mobile",
155 'midp' => "Generic Mobile",
156 'cldc' => "Generic Mobile",
157 'up.link' => "Generic Mobile",
158 'up.browser' => "Generic Mobile",
159 'smartphone' => "Generic Mobile",
160 'cellphone' => "Generic Mobile"
161 );
162
163// There are hundreds of bots but these are the most common.
164$robots = array(
165 'googlebot' => 'Googlebot',
166 'msnbot' => 'MSNBot',
167 'slurp' => 'Inktomi Slurp',
168 'yahoo' => 'Yahoo',
169 'askjeeves' => 'AskJeeves',
170 'fastcrawler' => 'FastCrawler',
171 'infoseek' => 'InfoSeek Robot 1.0',
172 'lycos' => 'Lycos'
173 );
174
175/* End of file user_agents.php */
Derek Jonesa3ffbbb2008-05-11 18:18:29 +0000176/* Location: ./system/application/config/user_agents.php */