Chrome “Developer Tools” element - hide annoying yellow dimensions box

☆樱花仙子☆ 提交于 2019-11-29 00:56:17
Alexander Pavlov

You might want to check Chrome 16 which got an improved element tooltip. Please comment on the bug and mention specific issues that you want to get fixed.

Brandon

From the posted bug: "https://code.google.com/p/chromium/issues/detail?id=282493". If you hold keyboard Control (Ctrl) key before hovering the element (or command on a mac) the tooltip won't show. Not the ideal solution but it works as long as you know about it

Boris Smus

You can pretty easily tweak devtools yourself. Basically, follow these instructions to get started.

Then, inside inspector.js, tweak WebInspector.highlightDOMNode, by applying this small patch.

1150,1151c1150
<     // Do not highlight the DOM node.
<     //this.highlightDOMNodeForTwoSeconds(nodeId);
---
>     this.highlightDOMNodeForTwoSeconds(nodeId);

Fore more info, check out this post on extending Chrome DevTools.

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