Settings

Theme

Show HN: Test your website's responsiveness

mobilewebsim.jonahkatz.me

27 points by jak1192 13 years ago · 43 comments

Reader

stack0v3erfl0w 13 years ago

There is a similar tool built into Firefox (Tools -> Web Developer -> Responsive Design View)

amwelles 13 years ago

Neat tool, but... Should we be targeting specific devices? Shouldn't things look awesome at any screen size? Like somebody already mentioned [1], this doesn't include Android options, Windows phone, or anything else.

[1] https://news.ycombinator.com/item?id=5928448

  • jak1192OP 13 years ago

    Good point. But if one wanted his site to look awesome on any screen size, he could use this tool to confirm that it does.

wholalotta 13 years ago

it doesnt work. I checked my website from my iphone4s and from your tool. They are not the same.

marban 13 years ago

http://screenqueri.es is the much better choice (if you really want to skip the test in an actual emulator)

tehwebguy 13 years ago

Looks pretty cool! Side note, I just learned about X-Frame-Options as a result of entering http://google.com in the form box using Safari

https://developer.mozilla.org/en-US/docs/HTTP/X-Frame-Option...

  • jak1192OP 13 years ago

    Interesting. It seems Chrome doesn't support X-Frame-Options

    • anondesign 13 years ago

      Not true. Chrome definitely supports x-frame-options (I believe the code for that is part of webkit and is shared with safari).

      • jak1192OP 13 years ago

        Well i based my hypothesis on the fact that sites such as google.com and yahoo.com which dont get rendered in Safari as a result of X-Frame-Options do get rendered in Chrome.

        • anondesign 13 years ago

          You either have an ancient version of chrome, or have disabled some pref in chrome to allow these sites to get rendered.

mmahemoff 13 years ago

You can also go into Chrome devtools, Settings, Overrides. Then you can set the User Agent, which will also update the screen resolution. You can emulate touch events there as well.

websitescenes 13 years ago

I skim hacker news on my iPhone and I couldn't see anything in the emulation. I'll have try later on my desktop. Thanks for sharing.

paul9290 13 years ago

Is there a difference in using this tool vs. seeing how it looks as I scale my browser down to iPad, Android and iPhone size?

  • jak1192OP 13 years ago

    Its easier to match the aspect ratio using this tool vs scaling down a browser (how do you know the dimensions of your browser?)

jusob 13 years ago

You can also check http://mobilito.net/

apolymath 13 years ago

i have to say that this preview thing is bullshit. For example, your web-based iPad viewing size is only 582px wide, when in all reality, the iPad is 1536px wide. Sorry, but this little test is an epic fail.

  • jak1192OP 13 years ago

    The aspect ratio is consistent - which, in my opinion, is what's important.

    • sahaskatta 13 years ago

      The aspect ratio of the browser's viewport and of the device's display IS NOT the same. (That applies to portrait and landscape too.) The interface elements at the top and bottom skew that quite a bit.

fady 13 years ago

do you know why a html file in my dropbox public folder would not display on your site? dropbox public links work well in browsers. i use it a lot for dev stuff

denzil_correa 13 years ago

This a very good hack. Kudos for it!

nudetayne 13 years ago

Unfortunately, this doesn't appear to render pages the same as Apple devices.

  • ancarda 13 years ago

    If you use Safari (on OS X), you'll get a much closer rendering to the actual device.

MostAwesomeDude 13 years ago

Looks like there aren't any Android options. That's a shame.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection