Created
October 9, 2014 22:44
-
-
Save kitwalker12/729ad86eeeafba108847 to your computer and use it in GitHub Desktop.
chrome devtools tips
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
monitorEvents(window, 'click'); | |
monitorEvents(window, 'scroll'); | |
//After store as global variable, save to clipboard | |
copy($_) | |
//timeline | |
console.timeline('xxx'); | |
console.timelineEnd('xxx'); | |
//profile | |
console.profile('xxx'); | |
console.profileEnd('xxx'); | |
//inspect | |
inspect(document.body.firstChild); | |
inspect(somefunctionname); | |
//copy object as string | |
copy($0); | |
copy(document.body); | |
//query DOM elements | |
$$(selector); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment