Bulletproof Mobile Device Detection and Style Sheets without User Agent Detection or Server-Side Scripting
January 23rd, 2009
With the release of the iPhone and T-Mobile G1, smartphone sales have skyrocketed. Developers have wisely taken note of this, and started optimizing websites for these devices. But even when you combine the iPhone and the G1 usage numbers, it still only accounts for about 50% of the mobile traffic in the U.S., and 35% in the rest of the World. That leaves a lot of other mobile users, out in the cold. But we’ve got a method that works on nearly every device without user-agent detection or server-side scripting!