Forums
(@azaziah)
6 years, 8 months ago
I noticed that all other special characters need to be decoded as well, this also affects other browsers.
Here is a better fix that decodes them all with decodeURI()
var hash = location.hash.substr( 4 ); hash = JSON.parse(decodeURI(hash));