Add logic to check if d6's pushstate is supported