Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I inspect element in chrome when right click is disabled?

I want to debug a info box that shows when I mouse over a google map marker. But google map disables right click anywhere on the map canvas, so I can't inspect the element for debugging / viewing purposes.

I tried to search for the element by the href content in the elements tab, but it didn't show up on search.

Is there a way to inspect element despite the lack of right click?

like image 523
Clark Avatar asked Sep 30 '11 00:09

Clark


People also ask

How do I inspect hidden elements in Chrome?

VIEW HIDDEN ELEMENTS: The extension makes visible those elements hidden by the "display:none", "type=hidden", and "visibility=hidden" attributes / styles. To do this hit LazySec's "Show Hidden Elements" button.


2 Answers

Sure, you can open the devtools with Ctrl+Shift+I, and then click the inspect element button (square with the arrow)

like image 162
Boris Smus Avatar answered Sep 28 '22 04:09

Boris Smus


On Mac OS you have to press: CMD+ALT+I

like image 20
Stefano Caravana Avatar answered Sep 28 '22 04:09

Stefano Caravana