Argh. Firefox 26 has a bug that makes it much harder to detect history.state support: https://bugzilla.mozilla.org/show_bug.cgi?id=949471