Setting up your browser for responsive development.
While working on a responsive design today, it bugged me again that you can’t resize a chrome window under 400 pixels wide. Up until now, I just fired up Safari since it has OK developer tools and also gets live-reloaded by CodeKit. But today, I didn’t feel like using Safari. There’s always something bugging me about it and I don’t have my bookmarks and extensions.
After some research I discovered that there were people whose Chrome didn’t let them go smaller than 520 pixels because of the number of extensions they had installed. That’s what gave me the idea of removing everything. And what has fewer controls on it than a good old fashioned pop-up window? I never thought I would ever use the dreaded things to my advantage.
Taking it further
By turning this snippet into a bookmarklets and setting the position of the popup on the screen, we can set up a responsive workspace with just 2 clicks.
I have the following snippets set up as their own bookmarklets in my browser to quickly get a mobile phone and a tablet view of the project I’m working on.