Snippets
stopBefore.js
Prepend the debugger statement to a function as easy as stopBefore('Element.prototype.removeChild').
- Site: https://gist.github.com/NV/5376464
- Also for logging: https://gist.github.com/johan/5436827
break on property read/write
Breakpoint on access to any property
captureCalls.js
captureCalls('document.getElementById') to show a stack trace for document.getElementById on its every call
Grep.js
- Site: https://gist.github.com/nicdaCosta/4072412
Object.prototype.grep, skipping inherited properties - Also: https://gist.github.com/johan/5550897
grepandgrep.own, for inherited or non-inherited ditto
dataUrl.js
Add dataurl.js for loading all images on page as data urls
jQuerify
Add jQuery to any page
showheaders.js
View the HTTP headers for the current URL (using a console.table)
See also: http://bgrins.github.io/devtools-snippets/
