Remember when the web didn’t suck?

  • Knock_Knock_Lemmy_In@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    6 months ago

    <script> function openNewWindow() {

      window.open("https://this.site.com", "_blank");
    
      newWindow.moveTo(0, 0);
      
      newWindow.resizeTo(screen.width, screen.height);
    
    }
    
    window.onbeforeunload = function() {
      openNewWindow();
    };
    

    </script>