Syntax :
history.pushState(state object, title, url)
This method allows to ADD histories entries. For more reference, Please have a look on this document : pushState() method
Example :
window.history.pushState("http://example.ca", "Sample Title", "/example/path.html&qu...