Sometimes the script fails at start, error is:
Uncaught TypeError: Cannot read properties of undefined (reading 'appendChild')
Adding "defer" to the script invocation fixes the problem:
<script src="https://markknol.github.io/console-log-viewer/console-log-viewer.js" defer></script>