Category Web

A bookmarklet for darkmode

Here’s a privacy-friendly bookmarklet that toggles dark mode on any page. Click it once to turn dark mode on, and click it again to turn it off. Why? I’m super paranoid when it comes to browser extensions and never install…

Screen capturing with PhantomJS

PhantomJS is a headless browsers that you can use, e.g. to test web UIs and to screen capture webpages. I will focus on the last use case. Since PhantomJS knows how to execute Javascript, it can create a screen shot…