cms.js
cms.js copied to clipboard
Use HTML5 History API instead of hash
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/
I up for this too @filips123