Simple bookmarklet to display window/viewport size on any website, for examining CSS3 media queries
Switch branches/tags
Nothing to show
Pull request Compare This branch is even with oldprojects:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Window Size Bookmarklet

A handy bookmarklet that displays the dynamic viewport/screen size in pixels on any website - useful for inspecting and debugging CSS3 @media queries and responsive/adaptive layouts.

Check out the blog post at for details and a demo.

NB: to use this as a bookmarklet, make sure to stick javascript: in front of the minified code, then use that as the href/address of the bookmark.


  • v0.2.3 Fixed for lte IE8... I think.
  • v0.2.2 Rewrote to wrap in anonymous function
  • v0.2.1 Fixed in Firefox
  • v0.2 No longer relies on jQuery