PX: Viewport Dimensions v2.0
Shows you the browser window size in pixels as you resize the window. There is an easily accessible panel to disable the plugin until it's needed again. This extension does not require Developer Tools to be open in order to work.
The source code for this add-on is available on GitHub: https://github.com/LukePeters/px-viewport-dimensions