spaceship, spaceship, SPACESHIP!
Luke Bonaccorsi
Press Start

TIL: document.querySelectorAll returns a NodeList

Modern browsers have the native selector engine document.querySelectorAll which is really useful for easily finding elements. I had assumed that it returned an Array but I’ve just found out that I was wrong and it returns a NodeList.

Read More

Blackboxing Scripts In Chrome DevTools

Chrome DevTools has a feature called blackboxing which allows you to ignore certain scripts when debugging. When a script is blackboxed, it’s hidden from the call stack pane and you don’t step into it when stepping through the code. This is really useful when debugging code that uses frameworks or libraries such as Ember, React or jQuery.

Read More

HTTPS With A Custom Domain On GitHub Pages

While GitHub pages supports HTTPS for sites using the github.io domain, it doesn’t support it for custom domains. I’ve had a few people ask how I’ve achieved HTTPS with a custom domain on GitHub pages, so I felt I should write a post on it.

Read More

Conditional Breakpoints In Chrome DevTools

A really useful feature that I often find myself using in Chrome DevTools is conditional breakpoints. Conditional breakponts allow you to only pause execution when a certain expression evaluates to true, meaning that you can pause it when you want it to.

Read More