platy/json-browser — pull request #22 by geraintluff (2013-07-03 11:23:57+00:00)
Title: Only hook into fragment changes for JSON

Otherwise, when the hash changes on non-JSON pages (where this extension
should not be "active"), the callback still gets called, producing an
error.