For example, I’m flipping through a long landing page and reloading the page in the middle, how can I make sure that after reloading I return automatically to the place I’ve stopped at and not to the top of the page?

  • Don't browsers have this behavior out of the box? - neluzhin
  • Browsers do this by default. These are some scripts you scroll page. Possible browser extensions. - yarkov_aleksei
  • You can put a crutch and memorize the position of the scroll in the cookies or in the local storage - Yuri
  • here are two similar sites work differently. One, through lokalkhost, does not remember, and the second is normal - Vitalik Boyko
  • Yes, I checked it in the browser. Chrome something interferes. In others, it works fine. Thank you - Vitalik Boyko

0