WP-UserAgent
Latest version: v0.10.3 – 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:
- Abolimba
- ABrowse
- Acoo Browser
- Amaya
- Amiga Aweb
- America Online Browser
- Amiga Voyager
- AOL
- Arora
- Avant Browser
- Beonex
- Black Berry Browser
- Blackbird
- Blazer
- Bolt Browser
- BonEcho
- Browzar
- Bunjalloo
- Camino
- Cayman Browser
- Cheshire
- Chimera
- Chrome
- ChromePlus
- CometBird
- Comodo Dragon
- Crazy Browser
- Cruz
- Cyberdog
- Deepnet Explorer
- Demeter
- DeskBrowse
- Dillo
- DoCoMo
- DocZilla
- Dolfin
- Dooble
- Doris
- Edbrowse
- Elinks
- Enigma Browser
- Epiphany
- Epic Browser
- Fennec
- Firebird
- Firefox
- Flock
- Fluid
- Galaxy
- Galeon
- GlobalMojo
- Google Chrome Frame
- Google Wireless Transcoder
- GoSurf
- GranParadiso
- GreenBrowser
- Hana
- HotJava
- Hv3
- Hydra Browser
- IBM WebExplorer
- IBrowse
- iCab
- Ice Browser
- IceApe
- IceCat
- IceWeasel
- iNet Browser
- Internet Explorer
- Internet Explorer Mobile
- iRider
- Iris
- Iron
- Jasmine
- K-Meleon
- K-Ninja
- Kapiko
- Kazehakase
- Kirix Strata
- KKman
- KMail
- KMLite
- Konqueror
- LBrowser
- LeechCraft
- Links
- Lobo
- lolifox
- Lorentz
- Lunascape
- Lynx
- Madfox
- Maemo
- Maxthon
- MIB (Motorola Internet Browser)
- MicroB
- Midori
- Minefield
- Minimo
- Mosaic
- Mozilla Developer Preview
- Mozilla
- Multi-Browser XP
- MultiZilla
- MyIE2
- Namoroka
- Navigator
- NetBox
- NetCaptor
- NetFront
- NetNewsWire
- NetPositive
- Netscape
- NetSurf
- NF-Browser
- Nokia S60
- Novarra Vision
- Obigo
- Off By One
- OmniWeb
- Opera
- Opera Mini
- Opera Mobile
- Orca
- Oregano
- OWB
- Pale Moon
- Phaseout
- Phoenix
- Pogo
- Polaris
- Pre Browser
- Prism
- QtWeb Internet Browser
- rekonq
- retawq
- Safari
- SeaMonkey
- SEMC Browser
- Shiira
- Shiretoko
- SiteKiosk
- Sleipnir
- SlimBrowser
- Songbird
- SRWare Iron
- Stainless
- Sulfur
- Sunrise
- Swiftfox
- Swiftweasel
- Tear
- TeaShark
- Teleca
- TheWorld Browser
- Thunderbird
- Tjusig
- TT Explorer
- uBrowser
- UC Browser
- UCWEB
- UP.Browser
- UP.Link
- uZard Web
- uzbl
- Vonkeror
- W3M
- wKiosk
- WorldWideWeb
- Wyzo
- X-Smiles
- Xiino
Consoles and Mobile Devices:
- BenQ-Siemens
- BlackBerry
- Dell
- Google Nexus One
- HTC
- iPad
- iPhone
- iPod
- LG
- Motorola
- Nintendo
- Nintendo DS
- Nintendo DSi
- Nintendo Wii
- Nokia
- OLPC
- Palm
- Playstation
- Playstation 3
- Playstation Portable
- Samsung
- SonyEricsson
Operating Systems:
- AmigaOS
- Android
- Arch Linux
- BeOS
- CentOS
- Debian
- DragonFly BSD
- Edubuntu
- Fedora
- Foresight Linux
- FreeBSD
- Gentoo
- Google Chrome OS
- IRIX
- J2ME/MIDP
- Kanotix
- Knoppix
- Kubuntu
- LindowsOS
- Linspire
- Linux
- Linux x86_64
- Linux Mint
- Lubuntu
- Macintosh
- Mac OS Darwin
- Mac OS X
- Mandriva
- MorphOS
- NetBSD
- OpenBSD
- Oracle Linux
- PCLinuxOS
- RedHat
- 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
Here is a screenshot preview of what to expect:
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.
To-do:
- 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 web browsers and operating systems are always welcome.




Mozilla/5.0 (X11; U; Linux armv7l; en-GB; rv:1.9.2a1pre) Gecko/20091127 Firefox/3.5 Maemo Browser 1.5.6 RX-51 N900
Hi Kyle,
We have a complaint that IE8 is being incorrectly identified as Ie7. Here: http://www.mobilitynigeria.com/2010/05/04/do-not-follow-my-footsteps-use-my-knowledge/#comment-4025
Secondly, I am posting this with the Maemo-powered Nokia N900. The browser is called MicroB but shows up as ‘Maemo browser’. The OS shows up as GNU/Linux. Can it be fine-tuned to say ‘Maemo’ instead?
You do a great job.
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 FirePHP/0.4
Hi, trying to include html code in “Word for “Surfing”:” I discover that htmlspecialchars() is missing in wp-useragent-options.php.
Hope you are well.
I.-
Mozilla/5.0 (iPod; U; CPU iPhone OS 3_1_3 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7E18 Safari/528.16
Thanks. I haven’t looked into that yet.
Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.5.27 Version/10.60
This is now fixed, look for an update shortly.
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 FirePHP/0.4
Thanks for the credit in v0.9.9!
Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.5.27 Version/10.60
WP-UserAgent v0.9.9 has just been released!
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.38 Safari/533.4 ChromePlus/1.3.10.0alpha1
Need National flag
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100723 Linux Mint/9 (Isadora) Firefox/3.6.8
What a nice suggestion.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.1 (KHTML, like Gecko) Chrome/6.0.437.3 Safari/534.1
Test
Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1_3 like Mac OS X; zh-tw) AppleWebKit/528.18 (KHTML, like Gecko) Mobile/7E18
Test from iPhone.
Opera/10.60 (X11; Linux x86_64; U; en) Presto/2.6.30 Version/10.60
Although this doesn’t detect the browser to be Safari, its still technically correct in its detection since Safari is never mentioned in the user agent string.
I’m not sure why it doesn’t contain the Safari signature, but I’d rather not modify the plugin to assume anything.
Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1_3 like Mac OS X; zh-tw) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7E18 Safari/528.16
Test again from iPhone
Mozilla/5.0 (iPod; U; CPU iPhone OS 4_0 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8A293 Safari/6531.22.7
Testing iOS 4…
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2) Gecko/20100115 Firefox/3.6
Test… with MacBook
Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.70 Safari/533.4
Any thoughts on creating a simple version of this that gives a PHP line that can be used to report the Browser and OS so that it can be easily implemented in other CMS? I would like to use it on Pluck, but I can try my hand at it I suppose.
Mozilla/5.0 (iPod; U; CPU iPhone OS 4_0 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8A293 Safari/6531.22.7
This wouldn’t be too difficult, but my plugin doesn’t detect user agents itself. It uses the ones stored by WordPress and parses them. If other CMS’s record the user agent then this would be trivial. I just haven’t had time to work on this.
Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.6.30 Version/10.60
Yeah, I ran into this while I was seeing what I could do. Oh well. I ended up switching to WordPress for now for my personal homepage. Thanks though!
Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.6.30 Version/10.60
Is this where I ask for extra browsers?
Tear on Maemo is recognized as Safari.
http://wiki.maemo.org/Tear
Here is a user agent:
Mozilla/5.0 (X11; U; Linux armv6l; en-us) AppleWebKit/528.5+ (KHTML, like Gecko, Safari/528.5+) tear
Mozilla/5.0 (X11; U; Linux armv6l; en-us) AppleWebKit/528.5+ (KHTML, like Gecko, Safari/528.5+) tear
I will be adding this shortly. Thanks.
Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.6.30 Version/10.60
I realized that it didn’t have an icon on a web page that I could see so I grabbed it off of the device and put it here:
http://wasdin.net/jake/files/tear.png
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100627 Arch Linux Firefox/3.6.6
Kyle,
I found this string
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.4) Gecko/20100622 PCLinuxOS/1.9.2.4-1pclos2010 (2010) Firefox/3.6.4Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.4) Gecko/20100622 PCLinuxOS/1.9.2.4-1pclos2010 (2010) Firefox/3.6.4
Thanks dani. I assume you’re pointing out PCLinuxOS. I’ll add it to the list shortly.
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!
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)
Hello Kyle,
I submitted a comment with a T-mobile Touch Pro2, but the plugin returned: Opera 9.50 on Windwws XP.
Here’s the user agent string:
Opera/9.50 (Windows NT 5.1; U; en) T-Mobile_Rhodium
Link: http://www.mobilitynigeria.com/2010/07/22/hands-on-with-mobinigeria-app-for-symbian/#comment-5279
Opera/9.50 (Windows NT 5.1; U; en) T-Mobile_Rhodium
Testing your mentioned ua-string with this post (if possible, please post from the affected browser or device in the future to avoid these extra posts).
Thanks.
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
With so many mobile devices to be added, I’m going to do a major rewrite of the device detect to split it apart from its current method (which is at the moment being detected in the OS function).
I’ve been meaning to clean this out for a while now anyway, so I’ll rewrite this part of the code and begin adding new mobile devices. My goal is no regressions.
FYI (and for my future reference), I’ve found a good source of Mobile user agent strings that I will be using to test detections against:
http://en.wikipedia.org/wiki/List_of_user_agents_for_mobile_phones
Cheers!
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
Please check it has folded my comments
http://aaqil.ninja.pk/2010/08/test how can i fix that and make this plugin work?
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 complete useragent details it does not work but when i disable complete useragent details then it works.
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100723 Linux Mint/9 (Isadora) Firefox/3.6.8
It is not compatible with WP 3.1 i think, it disappears comments in all my blogs on activation if i use option to show complete details of user agent. i have tried on two different blogs.
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100723 Linux Mint/9 (Isadora) Firefox/3.6.8
ON for OS and Device for nokia when settings is set to icon only does not show nice
ON does not represent anything, It should be something different.
So that Nokia and Nokia OS can be little more understandable even with icon only mode.
look at comments by nokia phone http://max99.ninja.pk/2010/08/chatrooms-mute-feature-updated/
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.
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100723 Linux Mint/9 (Isadora) Firefox/3.6.8
My comments are too close mixing with icons at http://max99.ninja.pk/test-page/
How can i make line break space between user agent icons and comment text below the icons.
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!