if (history.pushState) {
// supported.
}
Quickest test is to run this in the browser console to see if it’s supported:
if (history.pushState) { alert('supported'); }
Also notice that in FF typeof(history.pushState)
returns “function”, while in IE it returns “undefined”