2

I am trying to inspect html of Google drive's Sheets. They have override the right click. How can I inspect the html elements?

I am using firefox

user786
  • 3,902
  • 4
  • 40
  • 72

3 Answers3

3

To inspect I had to use key: Ctrl+F12.

Update To Inspect elements inside canvas, refer to https://stackoverflow.com/a/14466889/4810628

Update You can also try CSSViewer extension of Google Chrome to inspect elements and associated CSS

Community
  • 1
  • 1
user786
  • 3,902
  • 4
  • 40
  • 72
2

Sorry for an answer to such an old question..

The unwritten standard pertains to holding the SHIFT key whilst you right click; which reverts the action to the default context menu.

I'm also aware of a few people that, rather than using the shift key method, they make it so you have to right click twice (once for custom menu, second time for default menu).

EDIT (June 2019): It's not just SHIFT key I've seen people using -- it can be CTRL or ALT. On reflection - ALT is probably the best for implementation -- as SHIFT & CTRL can affect highlighted text (not preferable in some circumstances).

owhs
  • 173
  • 1
  • 7
0

There is an easy no plugin method. Since Google has overridden contextMenu event of the canvas we just need to disable it temporarily and then you can inspect like a normal web page.

  1. In the Inspector Window find the HTML tag for canvas which is pretty easy as it is a big container.
  2. Click on the event associated with it and disable the contextmenu event.

Screenshots:

disabling contextmenu event

After event is disabled

after event is disabled

antman
  • 317
  • 6
  • 16