Masahiko Sunami

List of Mobile Device User Agents, Screen Sizes, and Pixel Aspect Ratio

In an effort to get a sense of device width, height, and pixel aspect ratio of various mobile devices out there, I decided to spend a day wrestling with JavaScript and PHP to create a page that records visitor’s user agent and device information. It took some doing, but I ended up with this page, which records your User Agent, Device Width, Device Height, Pixel Aspect Ratio, and Device Orientation if same spec doesn’t already exist in the database. Your device information and table of collected data are displayed below.

I am separating the list of mobile devices from PC’s by seeing if device orientation is defined or not. (Orientation is 0 for portrait, 90/-90 for landscape,  or “undefined”.) You should be able to get a sense of what each devices are, by looking at user agents (iPhone, iPad, Android, etc…), but same device with different OS versions will also record as separate entry, and of course same device using a different browser. For more information on user agents, I think these pages are good start:

If you’d like, please use the comment area to comment on your device…

DISCLAIMER: No information other than the device information mentioned above are stored in the database. You need JavaScript and Cookies enabled for it to see your device information and record.


Your Device Information:

CCBot/1.0 (+http://www.commoncrawl.org/bot.html)


Recorded Devices:

Mobile Device (orientation defined)

User AgentDevice WidthDevice HeightAspect Ratio
Mozilla/5.0 (Linux; U; Android 2.2.3; en-us; Droid Build/FRK76) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.13205441.5
Mozilla/5.0 (Linux; U; Android 2.3.3; en-us; Sensation_4G Build/GRI40) AppleWebKit/533.1 (KHTML, like Gecko) Version/5.0 Safari/533.163605551.5
Mozilla/5.0 (Linux; U; Android 2.3.3; en-us; Sensation_4G Build/GRI40) AppleWebKit/533.1 (KHTML, like Gecko) Version/5.0 Safari/533.163606151.5
Mozilla/5.0 (Linux; U; Android 2.3.4; en-us; BNTV250 Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Safari/533.16009841
Mozilla/5.0 (Linux; U; Android 2.3.4; en-us; Sprint APC715CKT Build/GRJ22) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.13605801.5
Mozilla/5.0 (Linux; U; Android 2.3.4; en-us; Sprint APC715CKT Build/GRJ22) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.13606401.5
Mozilla/5.0 (Linux; U; Android 2.3.6; en-us; SPH-D710 Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.13205081.5
Mozilla/5.0 (Linux; U; Android 3.2.1; en-us; A200 Build/HTK55D) AppleWebKit/534.13 (KHTML, like Gecko) Version/4.0 Safari/534.1380012801
Mozilla/5.0 (Linux; U; Android 3.2.1; en-us; Sony Tablet S Build/THMAS0042) AppleWebKit/534.13 (KHTML, like Gecko) Version/4.0 Safari/534.1380012801
Mozilla/5.0 (Linux; U; Android 3.2.1; en-us; Sony Tablet S Build/THMAS0042) AppleWebKit/534.13 (KHTML, like Gecko) Version/4.0 Safari/534.1312808001
Mozilla/5.0 (Linux; U; Linux Ventana; en-us; Transformer TF101 Build/HTK75) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/8.0 Safari/534.1312808001
Mozilla/5.0 (iPad; CPU OS 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A405 Safari/7534.48.376810241
Mozilla/5.0 (iPhone; CPU iPhone OS 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A405 Safari/7534.48.33204802
Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_5 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8L1 Safari/6533.18.53204801

PC (orientation undefined)

User AgentDevice WidthDevice HeightAspect Ratio
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)12801024undefined
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET4.0C; .NET4.0E; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)1280960undefined
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; BRI/1; InfoPath.2; .NET4.0C; .NET4.0E; MALC)19201080undefined
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; CPNTDF; InfoPath.3; .NET4.0C; BRI/2)1366768undefined
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0.1) Gecko/20100101 Firefox/9.0.11440900undefined
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0) Gecko/20100101 Firefox/10.016801050undefined
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0.1) Gecko/20100101 Firefox/10.0.116801050undefined
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0.2) Gecko/20100101 Firefox/10.0.219201200undefined
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:9.0.1) Gecko/20100101 Firefox/9.0.119201080undefined
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_5_8) AppleWebKit/534.50.2 (KHTML, like Gecko) Version/5.0.6 Safari/533.22.3192012001
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_5_8) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.1112808001
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.46 Safari/535.11168010501
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.39 Safari/535.19168010501
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/534.52.7 (KHTML, like Gecko) Version/5.1.2 Safari/534.52.7168010501
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.77 Safari/535.7168010501
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/534.53.11 (KHTML, like Gecko) Version/5.1.3 Safari/534.53.1013667681
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/534.53.11 (KHTML, like Gecko) Version/5.1.3 Safari/534.53.10192010801
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/534.53.11 (KHTML, like Gecko) Version/5.1.3 Safari/534.53.10256014401
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.46 Safari/535.11168010501
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.77 Safari/535.7192012001
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; de; rv:1.9.2.26) Gecko/20120128 Firefox/3.6.261440900undefined
Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.46 Safari/535.1112808001
Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.1112808001
Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.1114409001
Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.63 Safari/535.7168010501
Mozilla/5.0 (Windows NT 5.1; rv:10.0.1) Gecko/20100101 Firefox/10.0.11024768undefined
Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20100101 Firefox/6.0.21024768undefined
Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.112801024undefined
Mozilla/5.0 (Windows NT 5.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.11024768undefined
Mozilla/5.0 (Windows NT 6.0; rv:10.0.2) Gecko/20100101 Firefox/10.0.21440900undefined
Mozilla/5.0 (Windows NT 6.0; rv:5.0) Gecko/20100101 Firefox/5.01440900undefined
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.46 Safari/535.1112807201
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.46 Safari/535.1112808001
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.46 Safari/535.11192012001
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.1113667681
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11204811521
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.77 Safari/535.710247681
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.77 Safari/535.713667681
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.77 Safari/535.7168010501
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.46 Safari/535.11192012001
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.1116009001
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.20 (KHTML, like Gecko) Chrome/19.0.1036.7 Safari/535.2016009001
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.21 (KHTML, like Gecko) Chrome/19.0.1041.0 Safari/535.21168010501
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.77 Safari/535.7120019201
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.77 Safari/535.7192010801
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.1) Gecko/20100101 Firefox/10.0.116801050undefined
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20100101 Firefox/6.0.21366768undefined
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.119201200undefined
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.26) Gecko/20120128 Firefox/3.6.26 ( .NET CLR 3.5.30729)19201080undefined
Mozilla/5.0 (Windows; U; Windows NT 6.1; es-ES; rv:1.9.2.27) Gecko/20120216 Firefox/3.6.2712801024undefined
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.51 (KHTML, like Gecko; Google Web Preview) Chrome/12.0.742 Safari/534.51102410241
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7192010801
Mozilla/5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0; SAMSUNG; SGH-i677)480800undefined
Opera/9.80 (Windows NT 5.1; U; Edition United States Local; en) Presto/2.10.229 Version/11.6110247681

Most Essential WordPress Plugins

Plug In!From my experience as a WordPress theme developer, I believe that you need to use as few plugins as you can, to keep your site lightweight and fast. Of course, the plugins that you use should be well written and lightweight as well. So if I need more functionality, I usually just code it into my theme functions.php file; It’s relatively straight forward and you can really dial in the code to suit exactly what you need.

Having said that, there are number of plugins that I rely on for almost every site I create. These plugins offer functionality that are otherwise too hard to implement and maintain, are all relatively lightweight, well written, have good support, and they are all FREE! I hope that you find it useful, and feel free to comment if I think I missed something.

By the way, I don’t use plugins for integrating social media, such as Facebook like buttons, Like box, Tweet buttons, etc. I tried most of the plugins out there, but they are usually too stylized, lack functionality/flexibility, use outdated code, and/or too heavy and slow. So I always coded it right into the theme, but I’ll explain that later in another post…


Site functionality

Contact Form 7 & Really Simple CAPTCHA

I think this is the best free contact form plugin. It lets you create a form fairly easily, and Really Simple CAPTCHA adds CAPTCHA functionality to the contact form which is easy and effective. Only downside is that you need to use good amount of HTML, but on the other hand it gives you great flexibility.

All in One SEO Pack

There is a lot of debate about whether this is the best SEO plugin or not, but I use it since it does what I need it to do. Only thing it lacks is ability to add “nofollow” tags, but for the most people I don’t think that’s a necessity.

Google XML Sitemaps

It automatically generates XML site maps for search engines, as well as notify them when there is a change, and it’s really easy to use. Just set it and forget it!

WP Realtime Sitemap

You can create a site map page really easily with this plugin which automatically generates a list of pages and posts with a single shortcode. You just need to set a few settings and you are good to go. Easy.


Backend Helpers

WP-DB-Backup

There are other backup plugins, of course, but I feel secure with using this plugin along with semi-regular backup of wp-contents folder. I usually set up an email address dedicated to receiving the regular backup of the database that this plugin sends. Great.

WP Super Edit

It lets you customize toolbar for TinyMCE Visual Editor, so you can pick and choose the buttons you want your client to use. As opposed to a popular TinyMCE Advanced plugin, this one lets you add custom CSS style menu, and I also find this one faster.

Page Comments Off Please

This plugin disables comments for new pages by default, so you don’t need to go into Quick Edit menu for each page to turn them off. Awesome.

Shortcode Emptry Paragraph Fix

I love shortcodes for adding HTML and PHP code to posts and pages without having to worry about the Visual Editor jumble the code up. Except when you have shortcode in the beginning of the post/page to which WordPress adds a paragraph tag. This plugin effectively stops that. Brilliant.


Security

Better safe than sorry – Save yourself time and money because there are people out there who wants to hack your site!

Secure WordPress

This plugin gives you some basic enhancements to a WordPress installation.

WordPress Firewall 2

Updated version of the plugin that will block some obvious attempts to hack your site.

Block Bad Queries (BBQ)

This plugin will block invalid php queries that are potential attacks.

Limit Login Attempts

Locks a user account after a set number of failed login. It stops a brute force hack where a hacker program will attempt to log into your site by going through password combinations.

Exploit Scanner

It gives you a tool to scan your site for possible virus and malicious code. Not really necessary but it won’t hurt.


Other Plugins that I use often

Advanced Custom Fields

This lets you easily add and customize custom fields, with great flexibility. Best feature is that you can choose what kind of field you want to add, including WYSIWYG editor and image uploader. You can then use it in your theme with post_meta tags just like a normal custom field. I use it on almost all the sites I create.

Efficient Related Posts

I used to use Yet Another Related Post Plugin, which is an effective and well written plugin, except that it generates the related posts list dynamically every single time. If you have lots of posts, it can slow down your site considerably. Instead, Efficient Related Posts plugin generates the list and saves it in a database when you create a new post. So if you have lots of posts, it will take some time to refresh your list, but it only happens when you create a new post, and it won’t slow down the site for users. Only downside that is that it only creates the list based on your tags.

Display Widgets

Adds functionality to widgets where you can choose which pages/posts to show/hide a widget on. Some of the older widgets won’t work with it, and also is_dynamic_sidebar will still give you TRUE even if you have all the widgets turned off, but other than that, it’s a super useful plugin.

SmartS3 Video Plugin

I recommend my clients to use Amazon S3 for hosting video content for speed. One great feature of Amazon S3 service is that it lets you use signed URL’s to access your file, which means you don’t need to make your files public. However, incorporating signed URL to a video player is a challenge. This plugin does it all, using HTML5 code with Flow Player fallback (you can change to JW Player if you want). It’s only a BETA release right now, but it still works pretty well.

WP Simple Survey

I use this plugin for my client who wants a quiz functionality. Unlike other quiz plugin, this one lets you create a quiz, and then redirects a user to a specific page depending on the score. You can upgrade it to a paid version which will let you create more than one quiz, and also give you more options. Not the most easy plugin to use, but it works well and it offers functionality that no other plugins do.

Site Renewal!!

After a long hiatus and creating numerous websites for other people, I have finally set up my own professional website!!

Mas at Kuzuryu Shrine, Hakone, Japan

Happy year of Dragon! - at the Kuzuryu Shrine (Shrine of Nine-Headed Dragon) in Hakone, Japan

I have been needing to set up a site that will showcase my professional work as a live sound engineer and web programmer, but it’s always hard to do things for yourself… Now that I have finally gotten around to doing it, I hope that this site will serve for those interested in my work to get a sense of who I am and what I do.

I will be updating the site as often as I can, posting some useful information and ideas in areas of live sound engineering and web programming. So please feel free to look around and post a comment or contact me if you are so inclined.

The design is minimal right now, but it will be upgraded… slowly… but surely.