- Source:
Methods
browserSupportsHistoryManipulation() → {Boolean}
Detects if the browser supports history manipulation, by checking the most common methods for presence in the history-object.
- Source:
Returns:
true if browser seems to support history manipulation
- Type
- Boolean
Example
if( browserSupportsHistoryManipulation() ){
window.history.replaceState(null, 'test', '/test');
}