Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the shortcut for inspecting elements in Firefox

Tags:

firefox

I read the documentation about Firefox's page inspector. I didn't find any shortcut for inspecting an element directly without clicking the button 'choose element with mouse'. The documentation for opening the inspector itself even looks to be wrong.

You open it with cmd + option + i on OSX rather than cmd + option + c as described in the documentation.

Using Firefox v24

like image 491
Jonathan Avatar asked Sep 24 '13 14:09

Jonathan


People also ask

What is the shortcut key for inspect element?

Method 1: Inspect Element Using Chrome Developer Tools At the top right corner, click on three vertical dots. From the drop-down menu, click on More tools -> Developer Tools. macOS users can use the shortcut – command + option + C and Windows users can use Control + Shift + C.

How do I see Firefox elements?

With the node picker(also called the Select Element icon). After that, as you move the mouse around the page, the element under the mouse is highlighted. Click the element to select it: Starting in Firefox 52, if you Shift + click the element, then it is selected but the picker stays active.

What does F12 do in Firefox?

Enables you to interact with a web page by executing JavaScript expressions in the context of the page.


2 Answers

It seems that Ctrl+Shift+C always open the inspector in "choose element with mouse" mode. [Linux, FF 26.0. Also works in Chrome.]

It's not exactly the same flow as context menu -> inspect element but I find it more useful. The hover tooltip sometimes gives me all the info I need. And it's more reliable — just opening the context menu generates a mouse event while Ctrl+Shift+C doesn't. E.g. with CodeMirror which plays games with invisible elements, using context menu usually lands me in the hidden textarea or fake cursor, while "choose with mouse" mode reliably gives me the styled editor content I wanted to inspect.

like image 110
Beni Cherniavsky-Paskin Avatar answered Sep 28 '22 00:09

Beni Cherniavsky-Paskin


Windows: Ctrl+Shift+C.

Mac: Cmd+Option+C.

like image 40
Evan Kim Avatar answered Sep 27 '22 23:09

Evan Kim