Reply to post: Re: Like a moth to a light

Who would code a self-destruct feature into their own web browser? Oh, hello, Apple

Jonathan Richards 1

Re: Like a moth to a light

El Reg won't let me post the quoted html from crashsafari.com here, but somebody has already done so at pastebin. I don't know whether the Google Analytics thing is the culprit within the javascript, or the huge loop shoving stuff into the browser history. Probably the latter.

Edit: explanation here[github.com], including why it crashes not only Safari.

Second Edit

Who the hell thought this was a good idea?

HTML5 introduced the history.pushState() and history.replaceState() methods, which allow you to add and modify history entries, respectively.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon