<div id="extension-code">
  <script>
    function htmz(frame) {
      // ---------------------------------8<-----------------------------------
      // Loader
      // ----------------------------------------------------------------------
      // Watch for the 'unload' event as a proxy for load start.
      // The initial about:blank page also counts when unloading.
      frame.contentWindow.addEventListener("unload", () => {
        // Wait for destination location for the hash
        setTimeout(() => {