2

I am getting "SecurityError" thrown when I call the History API in Internet Explorer and it won't continue running.

Here is the code:

if(window.history.pushState) {
        window.history.pushState({name: 'initial'}, 'initial', '');
}

That is right where it breaks and I can't figure out how to get around it, as Internet Explorer 10+ supports the history API.

Any help would be greatly appreciated.

tcase360
  • 346
  • 2
  • 10

0 Answers0