No disrespect to jQuery, a phenomenal and lasting tool, but I saw fit to extirpate it from my blog’s code. I set about untying it from the underpins until coming to the last remaining use case, simply opening external links in their own window/tab. The problem was recreating the ready() function to know when page content has finished loading, without requiring all the machinery of jQuery.
Existing jQuery snippet:
Replaced by Vanilla JavaScript snippet:
Now using domReady() as vanilla JS analogue to jQuery’s ready() function.
Shout out to beeker.io for providing a complete solution!