Weight loss not guaranteed
Channel | Description | |
---|---|---|
Stable | Standard released version. Major updates every 6 weeks. | |
Beta | One step ahead of stable. Major updates every 6 weeks. | |
Dev | First tested version. Updated 2-3 times per week. | |
Canary | Bleeding edge. Released daily. Untested and could be broken. | |
drop
elements
drag
and
to
rearrange
When editing almost any string containing a number in the Elements panel, the arrow keys can be used to increment/decrement the value
This works in suprising places, such as on Hex values
Hold the shift key to increment/decrement by 10 with the arrow keys
Hold the alt key to increment/decrement by .1 with the arrow keys
When using the color picker, if you move the mouse over the page a magnifying glass will appear that allows you to pick a specific pixel’s color
Shift+click on a color in the sidebar to switch between color formats (rgb, hex, hsl)
Jenny is standing by to take your call
Navigate the DOM in the Elements panel using arrow keys
Mac | Windows | Action |
---|---|---|
Esc | Esc | Shows/hides the console |
Mac | Windows | Action |
---|---|---|
Cmd + ] | Ctrl + ] | Next panel in DevTools |
Cmd + [ | Ctrl + [ | Previous panel in DevTools |
Mac | Windows | Action |
---|---|---|
Cmd + P | Ctrl + P | Search for file by name |
Mac | Windows | Action |
---|---|---|
Cmd + Opt + F | Ctrl + Shift + F | Search all sources for string |
Mac | Windows | Action |
---|---|---|
Ctrl + G | Ctrl + G | Jump to a specific line number in the current file. |
Can also be done using the Search for file by name dialog by putting a : at the start
Mac | Windows | Action |
---|---|---|
Cmd + opt + C | Ctrl + Shift + C | Toggle into inspect element mode when in the browser window. |
Useful to inspect elements that are hidden when the mouse moves out of them
Mac | Windows | Action |
---|---|---|
Cmd + Shift + O | Ctrl + Shift + O | List and search functions in current file |
Mac | Windows | Action |
---|---|---|
Cmd + Shift + D | Ctrl + Shift + D | Dock/Undock the DevTools with the browser window |
Clears the console output
Throws an error and stack trace if the expression passed into it is false
Logs the # of times that count has been invoked at that line with that label.
Starts and stop a JavaScript CPU profile if the DevTools are open
Starts and stops a timer for the specified label. When stopped, the time elapsed is displayed in the console.
Not in the console object
These only exists inside the console!
Aliases for document.querySelector() and document.querySelectorAll() respectively.
Copies whatever element is passsed into it to the clipboard
When the specified function is called, a message is logged with the method name and arguments to the method.
When one of the specified events occurs on the object, log the event object to the console.
Keeps the log between full page navigation. An option exists for this in both the Network panel and the Console
Right click on any XHR request in the Network panel to have the option to replay that request
When debugging code, rerun the code in the any frame in the Call Stack by right clicking the frame and selecting to Restart Frame
Attaches a Grep method to the Object prototype
Add jQuery to a page that doesn't have it
Find leaked globals
https://github.com/paulirish/devtools-addons/wiki/Snippets
Many different filters such as larger-than and domain
Chrome will autocomplete the filters applicable to your data, so play around
The DevTools themselves are a web app that can be edited by opening DevTools on them if they are undocked!