Show HN: Test your website's responsiveness
mobilewebsim.jonahkatz.meThere is a similar tool built into Firefox (Tools -> Web Developer -> Responsive Design View)
Didn't know that. That's pretty cool. However, its only for Firefox 15 which isn't available for mac yet..
It is available for Mac! The latest available version is Firefox 21.0 (stable channel).
What do you know. I updated Firefox from Firefox itself and it only updated me to 12.
Google Chrome has it built into the inspector as well, however it is not nearly as fancy as the one found in Firefox.
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.
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.
it doesnt work. I checked my website from my iphone4s and from your tool. They are not the same.
Same here. CSS Media Queries are not respected. Looks alright on phone, but this test-website is showing the default desktop-version.
Hmm. What's your website?
http://www.louiewatch.com looks different on my iPhone 5 and your site (accessing site using Safari 6.0.5 on OS X 10.8.4).
http://screenqueri.es is the much better choice (if you really want to skip the test in an actual emulator)
That's cool!
yeah, that worked well for me. pretty quick too.
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...
Interesting. It seems Chrome doesn't support X-Frame-Options
Not true. Chrome definitely supports x-frame-options (I believe the code for that is part of webkit and is shared with safari).
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.
You either have an ancient version of chrome, or have disabled some pref in chrome to allow these sites to get rendered.
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.
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.
The point of the site is to simulate how websites would look on an iPhone. So being you're on an iPhone, use of the site would be counterintuitive :)
A browser is a browser.
so i guess that would make my responsiveness checker unresponsive
Guess so
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?
Its easier to match the aspect ratio using this tool vs scaling down a browser (how do you know the dimensions of your browser?)
You can also check http://mobilito.net/
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.
The aspect ratio is consistent - which, in my opinion, is what's important.
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.
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
This a very good hack. Kudos for it!
Unfortunately, this doesn't appear to render pages the same as Apple devices.
If you use Safari (on OS X), you'll get a much closer rendering to the actual device.
Looks like there aren't any Android options. That's a shame.
Most Android aspect ratios are covered by the Apple devices I implemented. The Galaxy s4 for instance has a 16:9 aspect ratio, the same as the iPhone-5. However, more devices are to come! Feel free to contribute on Github (https://github.com/jak1192/MobileWebSimulator) :)
Most Android browsers actually reflow text to fit the screen, just like mobile browsers should. I don't think this website could simulate that.
again: http://screenqueri.es
Maybe I should put a chart of common device aspect ratios..
no need — there's an option for ARs at http://screensiz.es
That's a terrific reference. I wish I knew about it when I started developing