Updates README
Olaf Alders
9 years ago
59 | 59 | |
60 | 60 | Returns the browser, as one of the following values: |
61 | 61 | |
62 | chrome, firefox, ie, opera, safari, blackberry, browsex, elinks, links, | |
63 | lynx, emacs, epiphany, galeon, konqueror, icab, lotusnotes, mosaic, | |
64 | mozilla, netfront, netscape, n3ds, dsi, obigo, realplayer, seamonkey, | |
65 | silk, staroffice, webtv | |
62 | chrome, firefox, ie, opera, safari, applecoremedia, blackberry, | |
63 | browsex, dalvik, elinks, links, lynx, emacs, epiphany, galeon, | |
64 | konqueror, icab, lotusnotes, mosaic, mozilla, netfront, netscape, n3ds, | |
65 | dsi, obigo, realplayer, seamonkey, silk, staroffice, ucbrowser, webtv | |
66 | 66 | |
67 | 67 | If the browser could not be identified (either because unrecognized or |
68 | 68 | because it is a robot), returns undef. |
183 | 183 | If the user agent appears to be a robot, spider, crawler, or other |
184 | 184 | automated Web client, this returns one of the following values: |
185 | 185 | |
186 | lwp, slurp, yahoo, msnmobile, msn, ahrefs, altavista, askjeeves, baidu, | |
187 | curl, facebook, getright, googleadsbot, googleadsense, googlebotimage, | |
188 | googlebotnews, googlebotvideo, googlemobile, google, indy, infoseek, | |
189 | linkexchange, linkchecker, lycos, mj12bot, puf, scooter, | |
190 | specialarchiver, webcrawler, wget, yandexbot, yandeximages, java, | |
191 | unknown | |
186 | lwp, slurp, yahoo, msnmobile, msn, ahrefs, altavista, apache, | |
187 | askjeeves, baidu, curl, facebook, getright, googleadsbot, | |
188 | googleadsense, googlebotimage, googlebotnews, googlebotvideo, | |
189 | googlemobile, google, golib, indy, infoseek, linkexchange, linkchecker, | |
190 | lycos, mj12bot, puf, rubylib, scooter, specialarchiver, webcrawler, | |
191 | wget, yandexbot, yandeximages, java, unknown | |
192 | 192 | |
193 | 193 | Returns "unknown" when the user agent is believed to be a robot but is |
194 | 194 | not identified as one of the above specific robots. |
234 | 234 | significantly more time than simply querying the particular methods you |
235 | 235 | care about. |
236 | 236 | |
237 | The complete list of properties follows (i.e. each of these methods is | |
238 | both a method you can call, and also a property that will be in the | |
239 | list returned by browser_properties() if appropriate): | |
237 | A mostly complete list of properties follows (i.e. each of these | |
238 | methods is both a method you can call, and also a property that may be | |
239 | in the list returned by browser_properties() ). In addition to this | |
240 | list, robot(), lib(), device(), mobile(), and tablet() are all browser | |
241 | properties. | |
240 | 242 | |
241 | 243 | OS related properties |
242 | 244 | |
409 | 411 | |
410 | 412 | altavista |
411 | 413 | |
414 | apache | |
415 | ||
412 | 416 | askjeeves |
413 | 417 | |
414 | 418 | baidu |
419 | 423 | |
420 | 424 | getright |
421 | 425 | |
426 | golib | |
427 | ||
422 | 428 | |
423 | 429 | |
424 | 430 | googleadsbot |
444 | 450 | msn (same as bing) |
445 | 451 | |
446 | 452 | puf |
453 | ||
454 | rubylib | |
447 | 455 | |
448 | 456 | slurp |
449 | 457 |