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

余生颓废 提交于 2019-12-03 05:23:37

问题


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?


回答1:


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




回答2:


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




回答3:


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.




回答4:


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




回答5:


CTRL+SHIFT+I brings up the developers tools.




回答6:


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




回答7:


ALTERNATE WAY:


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



来源:https://stackoverflow.com/questions/7604795/how-can-i-inspect-element-in-chrome-when-right-click-is-disabled

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!