jmoenig/Snap--Build-Your-Own-Blocks — pull request #588 by cycomachead (2014-09-25 13:48:55+00:00)
Title: Disable putting project text in location.hash

This is a **partial** resolution to #433 which causes Chrome to crash.
Placing the project contents in the URL bar will lead to crashes on Chrome
when the URL text is > 2.09 million characters. This fix does not resolve
the problem of exporting a project (Chrome will 'crash' the new tab's process),
but at least the contents of current tab (Snap!) will remain intact.

One other benefit is that browser histories for Snap! users will decrease in
size. This has a noticeable affect in Safari on OS X where large histories slow
down searching and URL-autocomplete.

Use of #open: will still work the same, and in the case of opening
a shared cloud project, #present... is still set in the URL bar. This could (in
theory) leave open the possibly of a Chrome crash if a username or project title
are longer than 2.09m characters. However, such a case seems incredibly
unlikely.