Some hacks for Google Chrome DevTools.
By impersonating the DDC extension, this extension gains permission to inject JavaScript into DevTools, providing some additional features.
打開 Chrome 的擴充功能設定,開啓開發人員模式,載入未封裝擴充功能。
- Download the code, e.g.
git clone https://github.com/Neson/chrome-devtools-hack.git
- Navigate to
chrome://extensions
in Chrome - Check the
Developer mode
check box located on the top-right corner - Click the
Load Unpacked Extension...
button - Chose the folder of downloaded code
- Open the devtools on any page to check if it's working
Fuzzy search of css matching rules listed in styles panel.
Windows / Linux | Mac | |
---|---|---|
Select node to inspect | Ctrl+Alt+C |
⌥⌘C |
Toggle inspector position | Ctrl+Alt+L |
⌥⌘L |