Web Developers - Awesome Firefox Extension

2 replies
  • WEB DESIGN
  • |
Hi

I've been working on developing some sites to accommodate ther new generation of Netbooks and iPhones - their small screen real estate makes this a challenge sometimes.

In some cases I'm using JavaScript's windows.screen property to detect small screens - Netbooks usually only display a height of 570 px despite having a screen 600 px tall.

Another method I'm using is to detect the browsers USER_AGENT property to determine what platform the user is using. In researching this I have found an excellent Firefox extension that I thought other developers may find useful:

User Agent Switcher

This little wonder changes the value of the USER_AGENT reported to the website, so you can test code that is designed specifically for iPhones, Internet Explorer (6,7 and 8) or others. This has been great for me as I don't actually own an iPhone yet (donations would gladly be accepted!).

Note that it doesn't actually make your browser act like IE or an iPhone - in other words it's not an emulator. It just lets you test your code to see if it detects the browser type correctly and displays the browser-specific page you've built.

BTW, this extension has another use that has nothing to do with web development. If you are a Netbook user (I'm typing this on an Asus netbook) you'll find that a lot of websites don't accommodate the small display very well. You can use this extension to "fake out" an iPhone so these sites display their iPhone-specific content (if they indeed have iPhone-specific content). The sites will display better on the small screen and load a lot faster.

Hope someone can make use of this - I'd also love to hear any tricks or tips other Warriors have for designing sites for netbooks and/or iPhones.

Happy Holidays!


Bill
#awesome #developers #extension #firefox #iphone #web
  • Profile picture of the author customertools
    Yeah it's a good plugin.. I've used it before.
    BTW, if you don't over do it, and need someone to checkout a page on an iPhone feel free to ask me.

    -Brad

    p.s. and if you don't want to get an iPhone, the iTouch does safari the exact same as the iPhone does, just requires it to be attached to a network.
    {{ DiscussionBoard.errors[1549828].message }}
    • Profile picture of the author mywebwork
      Originally Posted by customertools View Post

      BTW, if you don't over do it, and need someone to checkout a page on an iPhone feel free to ask me.

      -Brad
      Thanks Brad, I just may take you up on that!

      Bill
      {{ DiscussionBoard.errors[1549849].message }}

Trending Topics