News for hackers. Stuff that matters.
Re:Chrome Devtools Tips and Tricks by jxm262 on Monday October 19, 2015 @10:16PM (#10417039)
I've been using chrome since it's beginning but just recently really digging into it. There's a ton of cool stuff in it. Just recently discovered the "snippets" section which lets you save a piece of js code and rerun it whenever you want (under Sources -> Snippets -> rightClick - add).

I'm also working on my first chrome extension if anyone's interested in helping or could give some feature requests/advice. https://github.com/jxm262/consoletap

Re:Chrome Devtools Tips and Tricks by tommyd on Tuesday October 20, 2015 @07:49AM (#10418593)
This is a great tip, thanks!

Using it to store this snippet which invokes the debugger when something tries to redirect you from the page, allowing you to inspect the state and any network requests (last time I checked, "preserve log on navigation" was buggy and didn't preserve all details of the request from a previous page):

  window.addEventListener("beforeunload", function() { debugger; }, false)