Replace all diacritic chars from string in JavaScript

How to replace all diacritic chars from string in JavaScript:

Example of use:

Code for removing diacritic chars from string:  Continue reading Replace all diacritic chars from string in JavaScript

Updating address bar with new URL without hash or reloading the page

Updating address bar with new URL without hash or reloading the page example:

 

You can then use window.onpopstate to detect the back/forward button navigation: