WP-UserAgent
Latest version: v0.10.14 – Download
Official WordPress Plugin Page:
http://wordpress.org/extend/plugins/wp-useragent/
This is a WordPress plugin that I’ve taken the liberty to maintain since the original author has failed to code to xhtml standards and keep up with the latest browsers as well as detecting platform versions, Internet Explorer versions and more.
WP-UserAgent is a user agent plugin for WordPress that uses the user agent provided by the visitors browser to identify their operating system and browser for each comment.
Note to WordPress developers: Feel free to take the changes that I’ve made and add them in to WordPress 2.8 or whatever. I just like to contribute (although my name somewhere in the credits would be great
).
WP-UserAgent identifies the following:
Web browsers:
- 360Safe Explorer
- Abolimba
- ABrowse
- Acoo Browser
- Alienforce
- Amaya
- Amiga Aweb
- America Online Browser
- Amiga Voyager
- Android Webkit
- AOL Explorer
- Arora
- Avant Browser
- Baidu
- Beonex
- Black Berry Browser
- Blackbird
- BlackHawk
- Blazer
- Bolt Browser
- BonEcho
- BrowseX
- Browzar
- Bunjalloo
- Camino
- Cayman Browser
- Charon
- Cheshire
- Chimera
- Chrome
- Chrome Mobile
- ChromePlus
- Chromium
- Classilla
- Columbus
- CometBird
- Comodo Dragon
- Conkeror
- CoolNovo
- Crazy Browser
- Cruz
- Cyberdog
- Deepnet Explorer
- Demeter
- DeskBrowse
- Dillo
- DoCoMo
- DocZilla
- Dolfin
- Dooble
- Doris
- Dorothy Browser
- Edbrowse
- Element Browser
- Elinks
- Enigma Browser
- EnigmaFox
- Epic Browser
- Epiphany
- Espial TV Browser: Escape
- Fennec
- Firebird
- Firefox
- Fireweb Navigator
- Flock
- Fluid
- Galaxy
- Galeon
- GlobalMojo
- GO Browser
- Google Chrome Frame
- Google Wireless Transcoder
- GoSurf
- GranParadiso
- GreenBrowser
- Gtk+ WebCore (osb-browser)
- Hana
- HotJava
- Hv3
- Hydra Browser
- IBM WebExplorer
- IBrowse
- iCab
- Ice Browser
- IceApe
- IceCat
- IceWeasel
- iNet Browser
- Internet Explorer
- Internet Explorer Mobile
- InternetSurfboard
- iRider
- Iris
- Iron
- Jasmine
- K-Meleon
- K-Ninja
- Kapiko
- Kazehakase
- Kirix Strata
- KKman
- KMail
- KMLite
- Konqueror
- Kylo
- LBrowser
- LeechCraft
- Links
- Lobo
- lolifox
- Lorentz
- Lunascape
- Lynx
- Madfox
- Maemo
- Maple Browser
- Maxthon
- MIB (Motorola Internet Browser)
- MicroB
- Midori
- Minefield
- MiniBrowser
- Minimo
- Mosaic
- Mozilla Developer Preview
- Mozilla
- Multi-Browser XP
- MultiZilla
- My Internet Browser (myibrow)
- MyIE2
- Namoroka
- Navigator
- NetBox
- NetCaptor
- NetFront
- NetNewsWire
- NetPositive
- Netscape
- NetSurf
- NF-Browser
- Nokia S60
- Nokia Browser
- Novarra Vision
- Obigo
- Off By One
- OmniWeb
- Opera
- Opera Labs
- Opera Mini
- Opera Mobile
- Opera Next
- Orca
- Oregano
- OWB
- Pale Moon
- Patriott
- Phaseout
- Phoenix
- Podkicker
- Pogo
- Polaris
- Pre Browser
- Prism
- Qupzilla
- QtWeb Internet Browser
- rekonq
- retawq
- RockMelt
- Saayaa Explorer
- Safari
- SeaMonkey
- SEMC Browser
- Shiira
- Shiretoko
- SiteKiosk
- SkipStone
- Skyfire
- Sleipnir
- SlimBrowser
- Sogou Explorer
- Songbird
- SRWare Iron
- Stainless
- Sulfur
- Sundance
- Sundial
- Sunrise
- Surf
- Swiftfox
- Swiftweasel
- Sylera
- Tear
- TeaShark
- Teleca
- Tencent Traveler
- TenFourFox
- TheWorld Browser
- Thunderbird
- Tizen
- Tjusig
- TT Explorer
- uBrowser
- UC Browser
- UCWEB
- UltraBrowser
- UP.Browser
- UP.Link
- Usejump
- uZard Web
- uzbl
- Vimprobable
- Vonkeror
- W3M
- Webian Shell
- Webrender
- Weltweitimnetz Browser
- wKiosk
- WordPress App
- WorldWideWeb
- Wyzo
- X-Smiles
- Xiino
- ZipZap
Consoles and Mobile Devices:
- BenQ-Siemens
- BlackBerry
- Dell
- Galaxy Nexus
- Google Nexus One
- HTC
- iPad
- iPhone
- iPod
- Kindle
- LG
- Motorola
- Motorola Xoom
- Nintendo
- Nintendo DS
- Nintendo DSi
- Nintendo Wii
- Nokia
- OLPC
- Palm
- Playstation
- Playstation 3
- Playstation Portable
- Samsung
- Samsung Smart TV
- SonyEricsson
- WP7
Operating Systems:
- AmigaOS
- Android
- Arch Linux
- BeOS
- CentOS
- Chakra
- Crunchbang
- Debian
- DragonFly BSD
- Edubuntu
- Fedora
- Foresight Linux
- FreeBSD
- Gentoo
- Google Chrome OS
- Inferno
- IRIX
- J2ME/MIDP
- Kanotix
- Knoppix
- Kubuntu
- LindowsOS
- Linspire
- Linux
- Linux x86_64
- Linux Mint
- Lubuntu
- Macintosh
- Mac OS Darwin
- Mac OS X
- Mageia
- Mandriva
- moonOS
- MorphOS
- NetBSD
- Nova
- OpenBSD
- Oracle Linux
- Pardus
- PCLinuxOS
- RedHat
- Rosa Linux
- Sabayon Linux
- Slackware
- Solaris
- SunOS
- Suse
- SymbianOS
- Ubuntu
- Unix
- VectorLinux
- Venenux GNU Linux
- WebOS
- Windows
- Windows 3.1
- Windows 3.11
- Windows NT 3.11
- Windows NT 4.0
- Windows CE
- Windows 95
- Windows 98
- Windows 98 SE
- Windows Millennium Edition (Windows ME)
- Windows 2000
- Windows 2000, Service Pack 1 (SP1)
- Windows XP
- Windows Server 2003
- Windows XP x64 Edition
- Windows Vista
- Windows 7
- Windows 7 x64 Edition
- Windows Mobile
- Xandros
- Xubuntu
- Zenwalk
TrackBacks:
- Drupal
- Feedburner
- Laconica
- libwww-perl
- Meneame
- MovableType
- Peach
- Pligg
- Python-urllib
- Snoopy
- SOAP
- Typepad
- vBSEO
- WordPress
- XML-RPC
Please let me know of any suggestions or browser/operating system versions that should be added. I tried to add as much as possible for the time being. I will add more soon and try to perfect the detection, but if you have problems then please let me know in the comments below!
Changelog:
v0.5.2 – Download
- Initial release (of taken over code).
v0.5.3.2 – Download
- Updated string names: $size => $uasize, $location =>$ualocation.
- Updated Google Chrome logo images with logo images added to UserAgent-Spy 0.5.3.2 (Images already added in my version of 0.5.2, but replaced for consistency).
v0.5.3.3 – Download
- Added Pre-2.6 compatibility for determining and defining Plugin and Content Directories constants. WordPress documentation here.
- Replaced sloppy code for image paths with more dynamic code.
- Renamed the function “useragent_spy_custom()” in “wp-useragent.php” to “useragent_output_custom()” to make it more generic and move away from the UserAgent-Spy naming system.
- Removed text attributes that were improperly added to option tags in “wp-useragent-options.php” to correct html validation errors.
- Adjusted the “UserAgent Output Location” section in “wp-useragent-options.php” and added the options to an ordered list, adjusting the use of the “small” tag.
- “wp-useragent-options.php” is now 100% XHTML 1.0 Transitional standards compliant. This is the default DTD used in the WordPress administration panel. I will eventually work towards compliance for XHTML 1.0 Strict.
- Fixed regex for OLPC so it’s case insensitive.
- Removed “target” attribute from browser links to improve XHTML 1.0 Strict compliance.
- Gave WP-UserAgent settings page a header title to make the location more recognizable.
- Cleaned up appearance of “wp-useragent-options.php” settings page by categorizing the content.
v0.5.3.4 – Download
- Added Windows 7 and Windows 7 x64 to detectable OS versions.
v0.6 – Download
- Added over 40 more web browsers that are detected.
- Added a couple more operating systems that are detected
- Fixed a bug in previous versions that caused errors to occur when users who were not logged in attempted to post a comment.
- Cleaned code and simplified several naming systems used.
- Added option to select DocType. Options include html and xhtml (strict for both).
- Known Issue: Most of the newly detected web browsers are still missing icons. I will try to add them as soon as I possibly can.
- *Note: The original author seems to like the additions that I made since I started extending this plugin and has incorporated many of the changes that I made into the other plugin.
v0.6.1 – Download
- 90 total web browsers detectable.
- 34 total operating systems detectable.
- Implemented a fix for Opera’s new versioning system, which started in version 10 snapshots, to correctly display the browser version.
- Cleaned code more and removed unnecessary global variable references.
- Fixed detection of CentOS.
- Debian and Ubuntu based distros (that are supported) now fetch version numbers also. Generic GNU/Linux now also specifies x64 when detected. Fedora version fetching is in the works as well as Mac OS X. Maybe these will be added in the next release. Mac versions are a little tricky since it seems they are optionally provided and formated differently per browser.I need to add fall back checks in case an odd UA string is created without version numbers for these so they are still detected. And parse pingbacks such as “XML-RPC for PHP 2.2″ in the future as something other than unknown.
- Known Issue: Some web browser icons have not been found/added as of yet. Those include: Amiga Voyager, Cheshire, Chimera, Elinks, IBrowse, Kapiko, KMLite, Minimo, Mosaic, MultiZilla, retawq, TeaShark, WorldWideWeb. Several of these listed browsers never had an icon to begin with, however, all listed will use the “unknown” icon (which is generic).Output location “custom” is still highly untested.
v0.6.2 – Download
- 90 total web browsers detectable.
- 35 total operating systems detectable.
- Code cleanup (removed extra whitespace to reduce size a little) and simplification (replaced switch with if..else).
- Most of the remaining icons for web browsers have been added.
- Linux Mint support added.
- A list of detectable operating systems that now also detect versions when available: CentOS, Edubuntu, Fedora, iPhone OS, Kubuntu, Mac, Ubuntu, Windows.
- Also, generic Linux will now specify if it is detected to be x86_64 (64-bit or x64). Others may be included later.
- Appearance adjustments made (settings icon by title and styling of “Save Changes” button) to WP-UserAgent Options page as well as adding a Help section with Author and Plugin Homepage to bottom of Options page for convenience.
- Known Issues:
- Some web browser icons have not been found/added as of yet. Those include: Chimera, KMLite, retawq, TeaShark, WorldWideWeb.
- Output location “custom” is still highly untested.
v0.7 – Download
- All images were optimized to reduce file sizes (PNGGauntlet) which reduced the overall package size from 308.4kb to 288.1kb!
v0.8 – Download
- Added a “Settings” quick link to the plugin listing in the plugins page.
- Worked on description wording for plugin in plugins page.
- Added a “Comment Preview” section to the WP-UserAgent settings page that displays an example of the options that you choose in real time.
- Also, WP-UserAgent has now been cleaned and extended far enough to reach the 1.0 milestone soon. I will be checking for possible problems and cleanups, but feel free to point them out to me at any time!
- *Note: Please suggest web browsers and/or operating systems that I am missing so I can include them to be detected.
v0.8.1 – Download
- Added missing ./img/16/net/arora.png file.
- Corrected typo of Maxthon 16px and 24px icons. maxton.png -> maxthon.png
- Added a quick fix for detecting and trimming Maxthon when no version is provided.
- *Note: WP-UserAgent is nearing a 1.0 release. Please let me know if you find any bugs, missing images, typos, undetected web browsers or operating systems, or detection errors in general.
v0.8.2 – Download
- Added detection for Windows 3.11, Windows NT 3.11, Windows NT 4.0 and fallback check for Windows Me.
- Added detection for Nintendo Wii, Playstation 3 and Playstation Portable.
- Added detection for Thunderbird (the e-mail client) since it has a unique and detectable user agent string.
- Debian is now shown as Debian GNU/Linux (props: Terry Wang)
- *Note: WP-UserAgent is nearing a 1.0 release. Please let me know if you find any bugs, missing images, typos, undetected web browsers or operating systems, or detection errors in general.
v0.8.3 – Download
- Adjusted readme.txt to appear better on the plugin page and pass validation from: http://wordpress.org/extend/plugins/about/validator/
- Initial submission to the the WP-UserAgent SVN Plugin Repository
v0.8.4 – Download
- Links: rel=”nofollow” is applied to all web browser and operating system links. (props: Alter Ego Blog)
- Added detection for Arch Linux (props: Terry Wang)
- Added detection for KMail (Kontact Mail) since it has a unique and detectable user agent string.
- Icon change: Macintosh (generic/old Mac) uses multi-color Apple icon, Mac OS X now uses gray Apple icon.
v0.8.5 – Download
- Added detection for Sabayon Linux (props: Ian “Thev00d00″ Whyman)
- Updated readme.txt to take advantage of the new changelog tab.
v0.8.6 – Download
- Added detection for more web browsers: BlackBerry Web Browser, Blazer, IEMobile, MIB (Motorola Internet Browser), NetFront, NetPositive, Obigo, Palm Pre Web Browser, Polaris, SEMC Browser, UCWEB, UP.Browser
- Added detection for more operating systems: Android, BeOS, Darwin (Mac), DragonFly BSD, Kanotix, Knoppix, LindowsOS, Linspire, Mandriva, Motorola, NetBSD, Nintendo DSi, Palm, VectorLinux, webOS
- Updates to detection of some rare sub-string instances: Win16 (Windows 3.11), Win95, Win98 (Windows 98 SE), Windows ME, Windows XP, Mac OSX, and Darwin (as Mac).
- Moved detection point of Firefox near end (along with Mozilla and MSIE) so other browsers that include Firefox in the User-Agent string are properly detected (example: Swiftfox is occassionally listed after Firefox in the string, causing improper detection).
- Corrected detection of Safari. Now Opera (starting with v10) and Safari are both versioned based on the Version/x.y string.
- Corrected detection of Nokia. Minor detection change included forward slash to further narrow results.
- Corrected links to Fedora and Mosaic’s homepage.
- Added icons for TeaShark (mobile web browser).
- Added new detection for Mozilla versioning.
- Added new Windows icons so a properly styled Windows icon is shown with the correct operating system version.
- Minor code cleaning.
v0.8.7 – Download
- Added detection for the Bolt Browser (mobile).
- Fixed bug where Browser and Operating System names were not passed along to the title and alt attributes in the image tags (props: cimddwc)
v0.8.8 – Download
- Corrected a layout bug on the Settings page with the Comment Preview section.
- Added option to display only text. Options are now Display icons and text, icons only or text only. You may need to check your settings if you were previously using the Icon only mode as it will most likely be reset with this update.
- Added option to specify css styling of image via Default (no-border), Inline Style for custom css, or Class for using a stylesheet (props: Zim)
v0.8.9 – Download
- Added detection for TheWorld Browser (props: mecal)
v0.9 – Download
- Added detection for Venenux GNU Linux and Oracle Linux.
- Added detection for Laconica and MovableType trackbacks.
- Cleaned some of the code for trackback detections.
v0.9.1 – Download Never committed to svn.
- Added a quick fix for Opera Mini detection.
v0.9.2 – Download
- Added support for iPod detection so an iPod Touch doesn’t appear as an iPhone.
- Added detection for Google Chrome OS.
- Fixed format and syntax of the readme.txt file that’s included.
v0.9.3 – Download Never committed to svn.
- Added support for BlackBerry device and model detection.
- Corrected the BlackBerry browser detection to simply register as BlackBerry since the device model number doesn’t have anything to do with the browser.
- Added detection for vBSEO (vBulletin).
- Added detection for Opera 10+ so the new Opera icon is used properly.
- Purged unused Mac icons.
v0.9.4 – Download
- Added detection for Novarra Vision Browser for mobile phones.
- Corrected a misspelled image filename for 24×24 seamonkey.png
- Corrected image used for Opera Mini.
v0.9.5 – Download
- Added browser version detection for BlackBerry web browsers (with a mod/hack fix).
- Added detection for the (now discontinued) Iris mobile browser.
- Updated MSIE Mobile icon.
- Added detection for the Jasmine mobile web browser from Samsung.
- Added detection for the Dolfin mobile web browser from Samsung.
- Added detection for the Teleca (Obigo derivative) mobile web browser.
- Added detection for the Java edition of the SEMC browser.
- Added detection for LG mobile devices.
- Added detection for Samsung mobile devices.
- Added detection for SonyEricsson mobile devices.
- Added two other Windows Mobile device strings.
- ————-(props: Yomi – above suggestions and code)
- Added detection for Namoroka web browser (props: Cahya).
- Modified detection for Nokia devices to include a wider range.
- Added detection for Lubuntu in anticipation of a platform specific string eventually (as other Ubuntu derivatives have done).
- Fix for UC Web browser version detection.
v0.9.6 – Download
- Added detection for Firefox Lorentz (with a temporary related link page until I find an official or article)
- Added detection for Flock Sulfer.
- Added detection for Google Wireless Transcoder.
- ————-(props: dani – above suggestions)
- Added trackback detection for SOAP (Simple Object Access Protocol) ex. SOAP::Lite/Perl/0.710.08
- Added settings option to enable/disable links for web browsers and platforms (with a live preview example).
- Fixed some settings page validation errors.
- Updated the settings page from the WordPress 2.5 style to a WordPress 2.9 style to make it feel more friendly. Major aesthetic improvement, too!
v0.9.7 – Download
- Fixed version detection for the Links browser (props: dani)
- Added detection for the Google Chrome Frame (props: dani)
- Added detection for the Apple iPad.
- Added detection for Typepad trackbacks.
- Added detection for Drupal trackbacks.
- Added detection for the DoCoMo web browser.
- Added detection for the Xiino web browser.
- Added detection for Xandros Linux.
- Added detection for IRIX Linux.
- Added detection for Unix.
v0.9.8 – Download
- Added detection for the UC Browser.
- Added detection for the Maemo Browser.
- Added detection for the UP.Link browser.
- Added detection for the Nokia S60 browser.
- Added detection for the J2ME/MIDP Device platform.
- Fixed detection of Safari browsers for detection Version or those without a version Listed.
- Fixed generic Nokia Web Browser detection.
- Fixed missing Nokia Web Browser image (props: Yomi)
v0.9.9 – Download
- Added detection for Foresight Linux (props: Tomas Forsman)
- Added detection for the SRWare Iron web browser (props: dani)
- Added a workaround for using special characters in the ‘Surfing’ and ‘on’ text fields in the options page. You can now include html styling and/or quotes (props: NomikOS)
- Removed a faulty Maemo Browser detection rule.
- Added a donations link at the bottom of the settings page for those who feel generous enough to reward me for the time and effort I share.
v0.9.10 – Download
- Added detection for the Tear mobile browser (props: Jake)
- Added detection for PCLinuxOS (props: dani)
- Added detection for the Mozilla Developer Preview builds.
- Moved detection of Safari further down the chain since its being used commonly as a fallback detection for several browsers.
- Consolidated Firefox BonEcho, GranParadiso, Lorentz, Namoroka, Shiretoko and future development icons into the firefoxdevpre.png icon, reducing the current count from 3 to 1, cleaning the code and removing duplicates.
- Added the new Ubuntu icon for Ubuntu 10.04+, with a fallback to the old icon for previous versions of Ubuntu.
- Made changes to reflect the new naming change for iOS on the iPad, iPhone and iPod.
v0.9.11 – Download
- Fix a regression where the Ubuntu version stopped being printed.
- Fixed support for detecting PCLinuxOS version.
- Added detection for ChromePlus.
- Added detection for DeskBrowse.
- Added detection for iNet Browser.
- Added detection for iRider.
- Added detection for LeechCraft.
- Added detection for Madfox.
- Added detection for Palemoon.
- Added detection for Pogo.
- Added detection for Prism.
- Added detection for uZard Web.
- Added detection for uzbl.
- Added detection for Vonkeror.
- Fixed detection for Opera Mobile and version number (props: Cahya)
- Added detection of Nokia S60 devices (previously only the S60 web browser was detected).
- Added detection support for alternate SymbianOS identifiers.
- Added detection for the HTC Touch Pro2 smartphone (props: Yomi)
- Modified image vertical alignment, so the images are now more inline with the sentence.
- Added detection for libwww-perl trackbacks.
- Added detection for Peach trackbacks.
- Added detection for Python-urllib trackbacks.
- Added detection for Snoopy trackbacks.
v0.10.0 – Download
- Rewrote a large portion of the code to separate Device detection from the OS detection function for easier updating and management.
- Improved mobile detection for a wider range of LG phones.
- Improved regex to merge IRIX 32/64 detection into one conditional for simplicity.
- Improved regex to merge SymbianOS and SymbOS detection into one conditional for simplicity.
- Improved regex to for Playstation 3 and Portable detection for simplicity and added generic Playstation detection.
- Improved detection for Nintendo DSi and Wii for simplicity and organization and added generic Nintendo detection.
- Added detection for BenQ-Siemens mobile devices.
- Added detection for Google Nexus One mobile devices (the Android OS was already supported).
- Added detection for HTC mobile devices: HTC Desire, HTC Touch Pro2, HTC Startrek, HTC Hero, HTC Legend, HTC Magic, HTC Touch, HTC Touch Pro (props: Yomi), HTC Polaris, HTC S710, HTC Tattoo and generics or undefined.
- Improved regex detection for a wider range of Nokia mobile devices.
- Added detection for Palm Pre and Pixi (generics were already supported).
- Added model detection to Samsung devices.
- Added model detection to SonyEricsson devices.
- Added model detection to Motorola devices: Motorola Droid, Motorola XT720, unspecified model numbers and generic Motorola devices.
- Fixed several instances of regex that were not case insensitive (to improve match success).
- Fix for IE8 Compatibility Mode detection.
- Simplified regex for Safari browser detection.
- Re-enabled fix for Maemo Browser version detection.
- Cleaned comments throughout code to simplify them and remove useless ones.
- Corrected displayed name of the Pale Moon web browser (from Palemoon).
- Removed browser version detection for TheWorld Browser since it doesn’t appear to ever include it.
- Changed icon for retawq from null to a terminal icon.
- Added detection for Abolimba.
- Added detection for Amiga Aweb.
- Added detection for Blackbird.
- Added detection for Browzar.
- Added detection for Bunjalloo.
- Added detection for Comodo Dragon.
- Added detection for Demeter.
- Added detection for DocZilla.
- Added detection for Dooble.
- Added detection for Doris.
- Added detection for Edbrowse.
- Added detection for Epic Browser.
- Added detection for GlobalMojo.
- Added detection for Hv3.
- Added detection for Hydra Browser.
- Added detection for Ice Browser.
- Added detection for Kirix Strata.
- Added detection for LBrowser.
- Added detection for MicroB.
- Added detection for Multi-Browser XP.
- Added detection for My Internet Browser.
- Added detection for NetBox.
- Added detection for NetCaptor.
- Added detection for Off By One.
- Added detection for OWB.
- Added detection for Phaseout.
- Added detection for rekonq.
- Added detection for SiteKiosk.
- Added detection for Swiftweasel.
- Added detection for TheWorld Browser.
- Added detection for Tjusig.
- Added detection for TT Explorer.
- Added detection for wKiosk.
- Added detection for X-Smiles.
- Added detection for MorphOS.
- Added detection for AmigaOS.
v0.10.1 – Download
- Fix version detection for Maemo Browser, TencentTraveler, NetCaptor, SiteKiosk, Tablet browser, Tjusig.
- Removed extra icons from OS folder that were supposed to be moved to devices folder (reduces plugin file size).
- Split Trackback icons out into separate trackback folder (including a copy of null.png).
- Dramatically improved performance and simplified the detect_browser_version() method using RegEx instead of substr() which reduces 18 lines of code to only 2. This means 16 less lines of code are run per comment on your site!
- Fixed error in HTC Touch Pro2 detection (Props: Yomi)
- Added detection for Dell Streak, Dell Mini 5 and generic Dell devices.
- Modified generic HTC detection regex to catch strings that also match “USCCHTC6175″ and “HTC_XX_XX”.
- Added detection for Mobile Safari.
- Added updated Edubuntu, Kubuntu, Lubuntu and Xubuntu icons for versions 10.04+ (the same as Ubuntu now). The updated Xubuntu icon has not been officially released yet, so the included icon may change later.
- Added detection for generic XML-RPC trackbacks.
- Cleaned several regex detectors so they all follow the same scheme/pattern now to add some consistency to the code.
- Corrected title of IceApe to Iceape.
- Updated regex for Ubuntu and other derivatives’ detection to match “Ubuntu/10.10″ as well as “Ubuntu 10.10″ so versions are properly parsed for both.
v0.10.2 – Download
- Optimized all packaged images to minimize filesizes without reducing quality. Images were reduced by approximately 50.33kb in total via PNGGauntlet. While this saves only a few extra kilobytes of bandwidth, it helps sites that are striving to perfect network performance with Page Speed for Firefox or Speed Tracer for Chrome (optimizing images).
v0.10.3 – Download
- Corrected detection of Motorola Droid to eliminate false positives for Android devices (props: Yomi)
- Added an option to specify a prepended word for Trackbacks and Pingbacks like the current “using” option. This is blank by default (props: dani)
- Adjusted vertical alignment of icons in the settings page to properly reflect the middle alignment they use in comments.
- Replaced poor quality WordPress icon with a better looking icon.
v0.10.4 – Download
- Added missing IRIX OS images. The quality isn’t great, but they’re the best I could find and produce myself. Submissions are welcome.
- Adjusted Nokia Series60 browser detection so the output is less redundant (props: Yomi)
- Added detection for the Chromium web browser (props: Terry Wang)
- Added detection for the RockMelt social web browser.
- Reorganized detection for Google Chrome since so many derivatives are beginning to use it as a base and leave it in their user agent string.
v0.10.5 – Download
- Added detection for 360Safe Explorer, Saayaa Explorer and Sogou Explorer (props: Buzz)
- Added detection for BrowseX, Conkeror, Element Browser, Espial TV Browser, GO Browser, InternetSurfboard, SkipStone, Surf, UltraBrowser, Weltweitimnetz Browser.
- Corrected detection for Multi-Browser XP (was only Multi-Browser) and My Internet Browser.
- Added unique icons for different versions of Microsoft Internet Explorer (props: Buzz)
- Correctly escape for detection of Google Wireless Transcoder.
v0.10.6 – Download
- Added detection for BlackHawk, Gtk+ WebCore, Tencent Traveler and Vimprobable.
- Added a quick fix for Arch Linux improperly being detected when IE users have SearchToolbar installed (since it improperly matched seARCHtoolbar).
- Added new feature to hide “Unknown” output. This is disabled by default (props: Cahya)
v0.10.7 – Download
- Added detection for Kindle.
- Added detection for moonOS.
v0.10.8 – Download
- Added detection for Opera Next, Android Webkit and MiniBrowser.
v0.10.9 – Download
- Fixed Mac OS X version detection so its more flexible.
- Fixed icon used for Red Hat linux (props: Third Eye)
v0.10.10 – Download
- Fixed Opera Next detection since the ua string has changed.
- Added detection for Opera Labs, Fireweb Navigator, Kylo, Sundance, Charon, Sylera, Dorothy Browser, and Webian Shell.
- Added detection for x64 versions of Unix/Linux.
- Added detection for the Inferno operating system.
- Added detection for Nokia Browser (props: Yomi)
v0.10.11 – Download
- Added detection for Columbus Browser, CoolNovo, Sundial, Usejump, WebRender.
- Added detection for Nova Linux and WP7 (props: jako)
v0.10.12 – Download
- Added detection for Alienforce Browser, Patriott, Qupzilla, Baidu Browser and ZipZap.
- Added detection for Chrome Mobile and Tizen.
- Added detection for Motorola Xoom, Galaxy Nexus.
- Added detection for Chakra Linux (props: KZKG^Gaara)
v0.10.13 – Download
- Fixed detection of Windows x64 from the Chrome user agent.
- Added detection for TenFourFox, Classilla, EnigmaFox, Podkicker, Maple Browser.
- Added detection for Samsung Smart TV, WordPress app for iPhone, WordPress app for Android.
- Fixed Android version detection.
v0.10.14 – Download
- Added detection for Crunchbang, Mageia, Pardus and Rosa Linux (props: KZKG^Gaara)
- Fixed detection of SRWare Iron browser (props: KZKG^Gaara)
To-do:
- Refactor codebase to simplify maintaince of this plugin and reduce duplicate code.
- Reach a stable and solid 1.0 release where the plugin is mostly finalized and updates will generally be additional browsers and/or systems.
- New suggestions for web browsers, devices and operating systems are always welcome.
- Add detection for PSVita when its released.


Mozilla/5.0 (X11; Linux x86_64; rv:2.0b2pre) Gecko/20100720 Ubuntu/10.10 (maverick) MozillaDeveloperPreview/4.0b2pre
I just noticed that the plugin isn’t picking up on Mozilla Developer Preview builds. Posting for reference..
Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.6.30 Version/10.70
WP-UserAgent v0.9.10 has just been released!
Mozilla/5.0 (Windows; U; Windows NT 6.1; id; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
WP-UserAgent is good,,,
Thanks for plugin…
Opera/9.80 (X11; Linux x86_64; U; Ubuntu/10.10; en) Presto/2.6.30 Version/10.70
Testing a modified user agent string in Opera (should be interpreted at Opera on Ubuntu)…
Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.458.1 Safari/534.3
Testing for Chrome on Arch Linux …
THANKS FOR YOUR GREAT WORK!
Opera/9.80 (S60; SymbOS; Opera Mobi/498; U; en) Presto/2.4.18 Version/10.00
Hi Kylea,
I am testing using Opera Mobile 10 on Nokia S60, it seems still detected as Opera Mobi 498 on unknown operating system.
Thanks before.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 ( .NET CLR 3.5.30729)
Thanks Kyle. Your admonition is noted. Cheers.
Opera/9.80 (X11; Linux x86_64; U; Ubuntu/10.10; en) Presto/2.6.30 Version/10.70
WP-UserAgent v0.9.11 has just been released!
Opera/9.80 (Windows Mobile; WCE; Opera Mobi/WMD-50433; U; en-GB) Presto/2.4.13 Version/10.00
kyle,
I’m testing Opera Mobile 10 on HTC Touch Pro. It seems to be recognised as Windows XP too.
Opera/9.80 (X11; Linux x86_64; U; Ubuntu/10.10; en) Presto/2.6.30 Version/10.70
Actually, it didn’t take as long to separate the devices and operating systems as I thought it would as I’ve already got them separated in the code now.
However, it will take some time to add the new devices along with their icons and clean up the code.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
Kyle,
Thanks for all the effort that you put into this plugin. It is very much appreciated.
Mozilla/5.0 (X11; U; Linux; es-ES) AppleWebKit/532.4 (KHTML, like Gecko) rekonq Safari/532.4
Testing for “rekonq” on “Arch Linux”
– Chrome on “Arch Linux” said “Generic Linux”
THANKS FOR YOUR WORK!
Opera/9.80 (X11; Linux x86_64; U; Ubuntu/10.10; en) Presto/2.6.30 Version/10.70
Thanks, “rekonq” is being worked into the next version (as are a lot of others as well). Unfortunately your user agent string doesn’t specify Arch Linux, so my plugin will still only recognize it as “GNU/Linux”. If you are able to customize the user agent string, you could add an Arch Linux string to it.
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100724 Arch Linux Firefox/3.6.8
ArchLinux is using generic source code for their Web browsers, actually. Just like Slackware. But Gentoo has a binary version for the Firefox branded.
Opera/9.80 (X11; Linux x86_64; U; Ubuntu/10.10; en) Presto/2.6.30 Version/10.70
Loads of changes and additions coming out shortly in WP-UserAgent 0.10.0! I’ll release it shortly after I can do a little regression testing. The changelog is already listed above if you’re curious.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6) Gecko/20100702 Epic/1.0 Firefox/3.6.6
Test from the new Epic Browser v1.0 in Windows XP.
Opera/9.80 (X11; Linux x86_64; U; Ubuntu/10.10; en) Presto/2.6.30 Version/10.70
WP-UserAgent v0.10.0 has just been released with a massive changelog!
Please let me know if you find regressions or a bug!
Opera/9.50 (Windows NT 5.1; U; en) T-Mobile_Rhodium
Great work, Kyle!
I noticed that posting with Opera Mobile 10 from a Touch Pro2 is recognised as a Touch Pro instead. See my penultimate post above, 5.48am 27th July.
It looks like the misinformation was from me. I posted that comment from a Touch Pro2, not a Touch Pro. My apologies. Kindly adjust.
Again, kudos!
Opera/9.80 (X11; Linux x86_64; U; Ubuntu/10.10; en) Presto/2.6.30 Version/10.61
Not a problem. I’ll fix it in the next update (v0.10.1). Thanks for the follow up!
Mozilla/5.0 (Windows; U; Windows NT 6.1; th; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Test User Agent
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100723 Linux Mint/9 (Isadora) Firefox/3.6.8
I was looking for this plugin
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100723 Linux Mint/9 (Isadora) Firefox/3.6.8
I do not want it to make users agents display able
like other plugin names advance useragent displayer
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100723 Linux Mint/9 (Isadora) Firefox/3.6.8
I do not want it to make users agents CLICK able
like other plugin names advance useragent displayer
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100723 Linux Mint/9 (Isadora) Firefox/3.6.8
Her I love this plugin, complete features a lot of configuration options
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100723 Linux Mint/9 (Isadora) Firefox/3.6.8
with other user agent plugin we can also see user agents on our wp dashboard and in comments moderation page. My feedback is to enable that feature for this plugin too.
Thanks.
Opera/9.80 (X11; Linux x86_64; U; Ubuntu 10.10 (maverick); en) Presto/2.6.31 Version/10.70
WP-UserAgent v0.10.1 has just been released!
As always, please let me know if you encounter any regressions. You should see an update for it shortly.
Mozilla/5.0 (Windows; Windows NT 5.1; rv:2.0b3) Gecko/20100805 Firefox/4.0b3 (.NET CLR 3.5.30729)
Thank you so much boss, and please check with google chromium in ubuntu/linux mint, it does not detect OS, gives only Linux icon instead of giving linux mint or ubuntu. like this Google chrome/Linux
Opera/9.80 (X11; Linux x86_64; U; Ubuntu/10.10 (maverick); en) Presto/2.6.31 Version/10.70
WP-UserAgent v0.10.2 has just been released!
I’ve been working to optimize kyleabaker.com for Google’s Speed Tracer and Firefox’s Page Speed and noticed a few images were in need of filesize optimizations. There are no code changes, but images will now load a fraction of a second faster and this will help others trying to optimize their site’s performance.
Look for the update shortly!
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100724 Arch Linux IceCat/3.6.8 (like Firefox/3.6.8)
Kyle,
For the option ‘Word for “Surfing”: …’, it should be work for pingback/trackback comment too. Or I have to fill that option blank and put the word e.g. ‘using’, manually.
Opera/9.80 (X11; Linux x86_64; U; Ubuntu/10.10 (maverick); en) Presto/2.6.31 Version/10.70
I’ve never considered adding this bit of text for trackbacks before, but it seems reasonably useful.
What would you think of a new option in the settings page to specify the word for this independently of the others?
I think if I add a new option, it will be empty by default just for consistency with older settings, but it would make it easy to add something here.
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100724 Arch Linux IceCat/3.6.8 (like Firefox/3.6.8)
Kyle,
For my blog now, I’m using custom setting. Emptying option in -Word for "Surfing"-, then put the word "using" manually before the custom tag works perfectly.
Better if there is an option for the comment section that is works the same in trackback/pingback setting.
While using -Word for "Surfing"- option with the word "using" on custom tag, I got something like this:
dani onAugust 31, 2010 at 22:21:09 using GNU IceCat 3.6.8 on Arch Linux:
in comments, but this
Web Site Accessibility Misunderstandings - Unessential Side - Tidak Penting onAugust 19, 2010 at 22:13:44 WordPress abc:
in trackback/pingback comments (no "using" word).
Mozilla/5.0 (Linux; U; Android 1.6; en-gb; SonyEricssonU20i Build/1.2.A.1.174) AppleWebKit/528.5+ (KHTML, like Gecko) Version/3.1.2 Mobile Safari/525.20.1
Kyle,
Posting this with a Sony Ericsson Xperia X10 Mini Pro. It reflects as Motorolaa Droid and the browser as mobile safari.
Opera/9.80 (X11; Linux x86_64; U; Ubuntu/10.10 (maverick); en) Presto/2.6.31 Version/10.70
Thanks. I just had to adjust the detection for Droid since it was incorrectly being triggered in “Android”. This will be included in the next update.
Opera/9.80 (X11; Linux x86_64; U; Ubuntu/10.10 (maverick); en) Presto/2.6.31 Version/10.70
Also, if the Safari browser detection is incorrect, there isn’t much I can do since there doesn’t appear to be any other browser mentioned in the string.
Opera/9.80 (X11; Linux x86_64; U; Ubuntu/10.10 (maverick); en) Presto/2.6.31 Version/10.70
WP-UserAgent v0.10.3 has just been released!
Update includes a new settings for prepending text to Trackbacks and Pingbacks as well as a few minor fixes. Enjoy!
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Kyle,
This is to say Thanks for all the time that you put into this plugin. Much appreciated!
Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Ubuntu/10.04 Chromium/6.0.472.62 Chrome/6.0.472.62 Safari/534.3
It would be nice to be able to display the information in the body of normal pages instead of through other places using PHP.
Mozilla/5.0 (Symbian/3; Series60/5.2 NokiaN8-00/011.012; Profile/MIDP-2.1 Configuration/CLDC-1.1 ) AppleWebKit/525 (KHTML, like Gecko) Version/3.0 BrowserNG/7.2.7.2 3gpp-gba
Hi Kyle,
Howdy?
Here’s UA from a Nokia N8. The new OS is simply ‘Symbian’, not ‘Series60 5.2′ as presented by the plugin. Can this nomenclature be effected?
As always, your work is appreciated.
Opera/9.80 (X11; Linux x86_64; U; Ubuntu/11.04 (natty); en) Presto/2.7.62 Version/11.00
I’ve adjusted this detection and understand what you are suggesting, but the current framework of this plugin is for detection one browser and one system/platform. Detection Symbian as well as Nokia just doesn’t fit into this model well.
I’ll look into refactoring this when I can find more time, but until then I think it is best to leave it in a way that is consistent with what the plugin already does.
Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.15 (KHTML, like Gecko) Ubuntu/11.04 Chromium/10.0.609.0 Chrome/10.0.609.0 Safari/534.15
Kyle:
It would be great if you can add several lines of code to differentiate Chromium and Google Chrome. It should be fairly simple to archive. Thanks.
e.g. UA for Chromium 10.0.609.0
Chromium 10.0.609.0 (Developer Build 68952) Ubuntu 11.04
WebKit 534.15
V8 3.0.0.1
User Agent Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.15 (KHTML, like Gecko) Ubuntu/11.04 Chromium/10.0.609.0 Chrome/10.0.609.0 Safari/534.15
Command Line /usr/lib/chromium-browser/chromium-browser –flag-switches-begin –flag-switches-end
Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.7.62 Version/11.00
Thanks. It seems like I looked into this a long time ago, but then they were both using the same user agent string. I’ll add detection for this in the next release.
Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.16 SUSE/10.0.629.0 (KHTML, like Gecko) Chrome/10.0.629.0 Safari/534.16
I am using Chromium 10.x on OpenSuse. Just testing it
.
Opera/9.80 (X11; Linux x86_64; U; Ubuntu/11.04 (natty); en) Presto/2.7.62 Version/11.00
WP-UserAgent 0.10.4 Released!
This adds detection for Chromium and RockMelt and a few other small fixes.
Opera/9.80 (Windows NT 6.0; U; id) Presto/2.7.62 Version/11.00
Hi Kyle,
I would like to ask, how we can put custom code manually on a theme based on thematic?
Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.8.115 Version/11.10
Released WP-UserAgent 0.10.5!
Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.24 SUSE/12.0.700.0 (KHTML, like Gecko) Chrome/12.0.700.0 Safari/534.24
Hi Kyle,
I’ve a little suggestion for wp-UserAgent, if there is unknown paramater, like using Browser A on Unknown OS, would you like to adding option to “hide” the unknown paramater and just showing the identified paramater on the screen. Or is it possible? Thanks.
Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.8.115 Version/11.10
Good suggestion. I’ll try to add that in as an option for the next release.
Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.25 SUSE/12.0.705.0 (KHTML, like Gecko) Chrome/12.0.705.0 Safari/534.25
Hmm…, it seems my Chromoium still detected as Google Chrome
.
One more suggestion, if you would, could we get the name “openSUSE” instead of “SuSE”, as how it is the official name.
Opera/9.80 (Macintosh; Intel Mac OS X 10.7.0; U; en) Presto/2.8.119 Version/11.10
In your case, Chromium isn’t identifying itself as anything other than Chrome, so the detection is actually correct.
The openSUSE fix will be a quick simple fix.
Mozilla/5.0 (X11; Linux i686; rv:2.0) Gecko/20110321 Firefox/4.0
Cahya,
but there is SUSE Linux Enterprise by Novell available.
Opera/9.80 (Windows NT 6.0; U; en) Presto/2.7.62 Version/11.01
Well yes, openSUSE were based on SLE(S/D) product by Novell. But are both of the open & enterprise products using the same string?
Mozilla/5.0 (X11; Linux i686; rv:2.0) Gecko/20110321 Firefox/4.0
Cahya,
SUSE string is default by its factory setting commonly. I’m a SUSE 9.x user previously. I don’t know the string in Fx 4 recently.
Mozilla/5.0 (X11; Linux i686; rv:2.0.0) Gecko/20100101 Firefox/4.0
Well, here is the string for Firefox 4 in openSUSE 11.4
.
foo/bar; fake-ua-string
Testing new functionality to hide Unknown detected browsers and platforms.
Opera/9.80 (X11; Linux x86_64; U; Ubuntu/11.04 (natty); en) Presto/2.8.119 Version/11.10
Released WP-UserAgent 0.10.6!
Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.24 (KHTML, like Gecko) Ubuntu/11.04 Chromium/11.0.696.57 Chrome/11.0.696.57 Safari/534.24
Muach Muach, thank you.
Mozilla/5.0 (X11; Linux i686; rv:2.0) Gecko/20100101 Firefox/4.0
I think you can delete 360safe explorer and many other chinese browses,they are all IE!马甲浏览器….
Mozilla/5.0 (X11; Linux i686; rv:2.0) Gecko/20100101 Firefox/4.0
Thanx for sahring this plugin.
very nice..
Mozilla/5.0 (X11; rv:2.0) Gecko/20110321 Firefox/4.0 ArchLinux/Dani
Tested using modified ua string
Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Testing IE9 in Windows 7 Pro x64…
Opera/9.80 (X11; Linux x86_64; U; Ubuntu/11.04 (natty); en) Presto/2.8.131 Version/11.10
Released WP-UserAgent 0.10.7!
Mozilla/5.0 (X11; rv:2.0) Gecko/20110321 Firefox/4.0.1 ArchLinux/Dani
manually overriding ua string.
Opera/9.80 (X11; Linux i686; U; SUSE/12.0.700.0; en) Presto/2.8.131 Version/11.11
Testing manual overidding too
Opera/9.80 (X11; Linux x86_64; U; Opera Next; Ubuntu/11.04 (natty); en) Presto/2.8.131 Version/11.50
Released WP-UserAgent 0.10.8!