Previously, Firefox was escaping single quotes contained in the page’s URL fragment when retrieving it with the
hash property on the
URL and similar interfaces, so you’d get
#foo%27bar instead of
#foo'bar, for example.
Since this didn’t match the relevant specs and other browsers’ behaviour, Firefox 57 has corrected the implementation not to escape single quotes. This change may break code if you have a special handling for Firefox.