[code] complete history support for stupid old browsers