How to Write a Link Checker in a Browser With Vanilla JavaScript

I’ve been experimenting more with JavaScript and working more from the console.
It was great to see Santhosh Tuppad using JavaScript from the console in his security workshop at LTG Gathering. I thought his encouragement to everyone to create a local unpacked ad hoc chrome extension was a good idea.