cms.js icon indicating copy to clipboard operation
cms.js copied to clipboard

Use HTML5 History API instead of hash

Open filips123 opened this issue 5 years ago • 1 comments

You could use HTML5 History API instead of window.location.hash. It allows to change state, title and URL of page without reloading the page.

One problem is that pages aren't real so refreshing the page will probably land on an invalid URL. Is it possible to handle that?

Here is a demo: https://html5demos.com/history/

filips123 avatar Oct 25 '18 19:10 filips123

I up for this too @filips123

chrisdiana avatar Nov 29 '18 00:11 chrisdiana