Customise the look of the Chrome web inspector

做~自己de王妃 提交于 2019-11-30 10:19:45
Boris Smus

The Chrome web inspector is just a web application, so is very customizable. You can download a copy of the devtools HTML/CSS/JS and tell Chrome to use it with a command line flag. Some resources for you:

The devtools CSS is at chrome-devtools://devtools/devTools.css (copy and paste the address into the address bar).

Override the styles using Custom.css which lives at:

  • C:\Users\<user>\AppData\Local\Google\Chrome\User Data\Default\User StyleSheets on Windows
  • ~/Library/Google/Chrome/Default/User StyleSheets on OS X
wesbos

Dev tools are just CSS/JavaScript so you can do whatever you want.

If you watch this video, Paul Irish shows how to run a build of Chrome and point to your own dev tools code. Kind of cool!

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