Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Way in Firefox to show current window dimensions? [closed]

Tags:

firefox

Is there any way in Firefox to show the dimensions of the current viewport? Ideally in the status bar and updating "live" as you resize the window, as this would be extremely useful for responsive layout testing!

I've used "MeasureIt" but that requires you to draw with a ruler, which is tedious and quite possibly inaccurate depending on the ability and mouse resolution of the user.

like image 628
Coder Avatar asked Jan 06 '13 16:01

Coder


People also ask

How do I restore Firefox window size?

You can reset the window size for Firefox back to its default settings by deleting the xulstore. json file. It can be found in the root of your Firefox profile folder. You will need to make sure that Firefox is not running when you remove this file.

How do I find my current browser width?

You'll notice dotted lines appearing around elements on your page. Find the content area and click to focus on it. Back in the bottom window, click Box Model on the right. The width and height will be shown.

Why does my Firefox window keeps shrinking?

resistFingerprinting enabled is intentionally resizing your window at start so that websites can't tell the exact monitor size... after disabling that, it seems the window size remains on boot.


2 Answers

I know this is a 4 year old answer, but I don't see anyone mention that you just have to select the toggle rulers option. Go to the settings menu option in the developer tools and check it. That will bring up the ruler icon and just click it and you have your ruler. enter image description here

like image 57
Marvel Moe Avatar answered Oct 21 '22 09:10

Marvel Moe


The popular Web Developer Extension has a "Display Window Size In Title" function (under the "Resize" menu) which updates when resizing. This displays both the window size and the viewport size in the following format: 1024x768 [1008x529] (window size, viewport size)

like image 45
Bruce van der Kooij Avatar answered Oct 21 '22 09:10

Bruce van der Kooij