HTMLDecor means full separation of content from presentation. With CSS you can change the styling of a whole site with one stylesheet. With HTMLDecor you can change everything - banner, navbars, ads, page-layout and stylesheets. This facilitates API-first / HTML-payload sites which are simple, robust and low-bandwidth, plus "pushState assisted navigation" comes for free.
window.location
is not updated byhistory.pushState()
, see the bug report.Surprisingly this only seems to break hash navigation - that's the only thing
location
is used for.This could be worked around by parsing
document.URL
for the hashOR
by detecting the buggy behavior and treating those browsers as not pushState enabled.