Automatic return to top of page during web navigation

didshedid Posted messages 4 Status Member -  
didshedid Posted messages 4 Status Member -
Hello,
I've been having a small issue for a while, nothing serious but a bit annoying!
When I browse and go back to the previous page, it always takes me back to the top of the page. In fact, the page opens where I clicked, and after about 5 seconds, it scrolls back to the top.
It's a bit of a hassle, especially when shopping online and trying to find the previous spot.
Thank you for taking the time to address my little problem.

5 answers

  1. JrFolken Posted messages 131 Status Member 67
     
    Hello didshedid,
    First of all, which browser are you using?
    0
  2. didshedid Posted messages 4 Status Member
     
    google
    0
  3. didshedid Posted messages 4 Status Member
     
    chrome sorry!
    0
  4. didshedid Posted messages 4 Status Member
     
    Thank you very much for these clarifications.
    0
  5. JrFolken Posted messages 131 Status Member 67
     
    Normally, browsers return to the previous position on the page (but this is not an absolute rule), so by disabling JavaScript there is no reason it shouldn't work.
    However, some scripts present on a page can either ensure that the page scrolls to the top upon loading or even completely reload the page, which will reset it to the top (intentional behavior), or confuse the browser which will no longer be able (or willing) to "remember" the position on the page.
    This is not stored in cookies, normally not in cache either, maybe in browser-specific variables, stored in RAM. So it's independent of the site you visit or create.
    (But it is possible with JavaScript and/or anchors to return to a specific point on the page, it seems).

    Help: https://www.mnot.net/cache_docs/index.fr.html
    -1