Hacker News new | ask | show | jobs
by timb 5130 days ago
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/ )

1 comments

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