Skip to content Skip to sidebar Skip to footer

Stop History.js From Changing The Address Url

I've been experimenting with History.js lately (https://github.com/browserstate/history.js/). I notice when you use the History.pushState(), History.js removes everything upto the

Solution 1:

Within the History.js github repo, you can set the options to force hashtags as Default

History.js Github Readme, Options Link

History.options.html4Mode  

If true, will force HTMl4 mode (hashtags)

Post a Comment for "Stop History.js From Changing The Address Url"