Web cover page open when button clicked

You could check the window Y positon, if its greater than 0, move the user back to the top of the page

window.onload = () => {
    setTimeout(() => {
        if (window.pageYOffset > 0) window.scrollTo(0, 0);
    }, 1);
};