禁用右键时,如何检查chrome中的元素? [英] How can I inspect element in chrome when right click is disabled?

查看:205
本文介绍了禁用右键时,如何检查chrome中的元素?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想调试一个信息框,显示当我将鼠标放在google地图标记上时。但谷歌地图禁用右键单击地图画布上的任何地方,所以我无法检查元素的调试/查看目的。

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.

我尝试通过元素标签中的href内容搜索元素,但没有显示在搜索上。

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?

推荐答案

当然可以打开使用 Ctrl + Shift + I 的devtools,然后单击inspect元素按钮(带方向的箭头)

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

这篇关于禁用右键时,如何检查chrome中的元素?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆