November, 2010

26
Nov 10

Fake your Chrome user agent to look like an iOS device

Another quick one: fake your user agent in Chrome to look like the latest and greatest iOS iPhone:

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome 
    -user-agent="Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_2_1 like Mac OS X; en-us) 
    AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8C148 Safari/6533.18.5"

This is for a mac, but the same idea works on a PC, just fire up Chrome from the command line with the –user-agent flag.

26
Nov 10

iPhone application icons for your site

I finally got around to creating an application icon for fzysqr.com. It is super easy:

  1. Create a 114px x 114px PNG (retina display compatible).
  2. Upload it to your website somewhere it can be accessed (http://fzysqr.com/images/apple-touch-icon.png in my example).
  3. Create a link in your site header:

    <link rel="apple-touch-icon" href="/images/apple-touch-icon.png"/>
    
  4. If you want to keep iOS from automatically glossifying your icon, use rel=”apple-touch-icon-precomposed” instead.

13
Nov 10

New look for fzysqr

If you are visiting today, you might notice that things look a bit different around here. I finally got around to rolling my own theme for WordPress. I wanted to get away from the noise and the clutter of pretty much every WordPress theme I have ever seen and get back to basic usability and readability.

It should be HTML5 compliant (according to the W3C Markup Validator so please let me know if you come across any issues in Chrome, Safari, or Firefox. If you come across any issues in Internet Explorer (any version), don’t. When IE cares about web standards, I’ll care about IE.

You may also notice that comments have been disabled. I am tired of fighting the battle against spam. I still welcome your questions, insights, or complaints. Please send them directly to me at comments@fzysqr.com.