title: How do I add JavaScript functions to DOM objects w/o jQuery?
body: <p>How do I do something like the following, but only for DOM objects, not all objects:</p>
  
  <pre><code>Object.prototype.hide = function() {
    this.style.display = 'none';
  };
  </code></pre>
  
  <p>Please use only pure JavaScript, no jQuery or other third-party libraries.</p>
  
  <p>Also, please comment on your solution's standards &amp; cross-browser compatibility.</p>