Re:Walled Gardens are Driving me to JavaScript
by timb on Sunday May 27, 2012 @07:40PM
(#4031368)
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/ )