DEV Community

Timoteo Ladmann
Timoteo Ladmann

Posted on

Use about:blank to open an empty page with a clean console in the browser

I happen to use the console in the browser occasionally for trying out some JavaScript code. But when opening it (Command + Option + J on Mac) on any website, I usually encounter it cluttered, especially as I'm using an ad-blocker.
Browser Console Cluttered
I could type clear() to remove all the warnings, but instead I prefer to open a new tab (Command + T) and enter about:blank in the address bar which returns an empty page with a clean console that you can use as a JavaScript playground.
Browser Console Clean

Top comments (0)