Change default select behavior for entire document or window
<p>With this I'd like to change the default select behavior for a document.  I do that for the document body with <code>getElmentsByTagName</code>.  But the code doesn't actually have the desired effect, which is to prevent the user from clicking to select text in the document.</p>

<pre><code>&lt;script&gt;
    $(document).ready ( function () {
        document.getElementsByTagName("body").addEventListener('mousedown', function(e) { e.preventDefault(); }, false);
    });
&lt;/script&gt;
</code></pre>

<p>This works elsewhere on my site to prevent select on specific page elements. How do I do this for the entire document?</p>
