Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

in the html of http://16s.us/sha1_pass/js/ add <!doctype html> to the top. this will prevent "quirks mode" in IE and String.prototype.trim will reappear.

if you want to support IE 8 and lower you'll have to add a shim for String.prototype.trim. (see http://kangax.github.com/es5-compat-table/ )



Thank you. Adding that line made it work in IE 9.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: