once again, title explains it all
You must log in or register to comment.
So, you want to remove all things on the page after a reload? I’m not really understanding the question.
i meant like you did something for the page to reload and then once it has reloaded, there is nothing in the page anymore
What triggered the something to reload? Like a click? Do you want to hide the content or remove all the content in the page? What is the purpose of this? If we use a local storage variable to check if the page has reloaded, there isn’t a way to revert it since it is now saved and when you visit the page again, it would be nothing.