Codebase list libhttp-browserdetect-perl / v1.31
Bumps version to 1.31 Olaf Alders 12 years ago
3 changed file(s) with 11 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
00 Revision history for Perl extension HTTP::BrowserDetect.
1
2 1.31 2011-10-12
3 - Adds detection and device name for Windows Phone (Douglas Christopher Wilson)
14
25 1.30 2011-09-15
36 - Tweaks language regexes to reduce false positives
22 an HTTP user agent string
33
44 VERSION
5 version 1.30
5 version 1.31
66
77 SYNOPSIS
88 use HTTP::BrowserDetect;
9191 Returns a human formatted version of the hardware device name. These
9292 names are subject to change and are really meant for display purposes.
9393 You should use the device() method in your logic. Returns one of:
94 BlackBerry, iPhone, iPod or iPad. Returns UNDEF if no hardware can be
95 detected.
94 BlackBerry, iPhone, iPod or iPad or device name found in user agent
95 string. Returns "undef" if no hardware can be detected.
9696
9797 browser_properties()
9898 Returns a list of the browser properties, that is, all of the tests that
192192 winnt
193193 win2k winxp win2k3 winvista win7
194194 wince
195 winphone
195196
196197 dotnet()
197198 mac()
215216 Returns one of the following strings, or undef. This method exists
216217 solely for compatibility with the HTTP::Headers::UserAgent module.
217218
218 Win95, Win98, WinNT, Win2K, WinXP, Win2k3, WinVista, Win7, Mac, Mac OS X, iOS,
219 Win3x, OS2, Unix, Linux, Playstation 3 GameOS, Playstation Portable GameOS
219 Win95, Win98, WinNT, Win2K, WinXP, Win2k3, WinVista, Win7, Windows Phone,
220 Mac, Mac OS X, iOS, Win3x, OS2, Unix, Linux, Playstation 3 GameOS,
221 Playstation Portable GameOS
220222
221223 Detecting Browser Vendor
222224 The following methods are available, each returning a true or false
44 license = Perl_5
55 copyright_holder = Lee Semel
66 copyright_year = 2011
7 version = 1.30
7 version = 1.31
88 main_module = lib/HTTP/BrowserDetect.pm
99
1010 [GatherDir]