For example,
When you click a tag which is linked to an ID value in the same page,
URL is changed like this : index.html#content04.
But, since I use scroll event that shows headers of each sector when mouse wheel is scrolled down, I want to make the URL default just like index.html to hide all the headers of each section so that I can see them only when I scroll down.
How do I make a script for this?
URL : index.html#content04. -> index.html // when refreshed