83

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?

Clark
  • 2,893
  • 5
  • 23
  • 25

8 Answers8

130

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

David Ferenczy Rogožan
  • 23,966
  • 9
  • 79
  • 68
Boris Smus
  • 8,220
  • 2
  • 36
  • 33
  • 2
    That's it! I didn't know about this function. Thanks. – Clark Sep 30 '11 at 02:39
  • 12
    In case you can't open dev tools with `Ctrl` + `Shift` + `I`, you may open it by clicking on __Developer Tools__ sub-menu from __More Tools__ in Google Chrome menu. – Ehsan88 May 08 '15 at 07:06
12

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

BuZZ-dEE
  • 6,075
  • 12
  • 66
  • 96
Stefano Caravana
  • 482
  • 4
  • 12
9

Use Ctrl+Shift+C (or Cmd+Shift+C on Mac) to open the DevTools in Inspect Element mode, or toggle Inspect Element mode if the DevTools are already open.

hafizi
  • 91
  • 1
  • 3
5

So use the short cut keys , Press ctrl + shift + I and then Click on Magnifying Option on Left side and Then Hover the mouse cursor and you will be navigate to proper way

Nikhil Kotak
  • 307
  • 1
  • 4
  • 5
3

Press F12 to Inspect Element and Ctrl+U to View Page Source

Shivani
  • 31
  • 2
3

CTRL+SHIFT+I brings up the developers tools.

Daniel A. White
  • 187,200
  • 47
  • 362
  • 445
  • but they can block it to.. the @ehsan88 commant rock =) or [that](https://stackoverflow.com/a/20661324/1509853) one – oCcSking Jun 19 '17 at 21:36
1

ALTERNATE WAY:
enter image description here


Click Developer Tools to inspect element. You may also use keyboard shortcuts, such as CtrlL+Shift+I, F12 (or Fn+F12), etc.

Bob
  • 146
  • 9
0

On Mac OS press: CMD+OPTION+J for console

Gaurav
  • 857
  • 3
  • 21
  • 29