Victa/responsive-bookmarklet — pull request #5 by christiannaths (2012-11-17 02:08:08+00:00)
Title: Added Local Environment Iframe Reload Button

In local environments cssrefresh is not an option, a user who reloads the page loses the bookmarklet frame. This adds a button (only visible in when working on local files) that will reload only the iframe containing the test website, thereby keeping the bookmarklet frame intact and improving iterative testing workflow. This reload also gets mapped to the F5 key and the R key.

To test this, step back 1 commit and use the bookmarklet on the index.html page, then open a local HTML file and apply the bookmarklet.

I'm already using this extensively in Chrome (I like to test responsive layout experiments with local files, just using sass --watch for css), and it works great. It also doesn't change the functionality at all when working on files in a server environment.

Any questions, just ask :)