Fandom Developers Wiki
Advertisement

SectionURLOnScroll is a script that updates the address bar by appending the current section's ID when scrolling into it. It helps in case the user unexpectedly leaves the page by restoring their position to the last section they were in. It's specially useful in (older) browsers where scrollRestoration is not a thing.

Installation

Text above can be found here (edit)
Advertisement