tById("documentInfiniteScroll")
      });

      document.addEventListener("scroll", () => {
        const t = document.documentElement;

        app.ports.onScroll.send({
          sceneHeight: t.scrollHeight,
          viewportY: t.scrollTop,
          viewportHeight: t.clientHeight
        });
      });
    </script>
  </body>
</html>
