How can I prevent selecting text in Google Chrome?
<p>Doesn't oEvent.preventDefault(); work in GC? I need to prevent selecting text when the onmove event is triggered. </p>

<p><b>EDIT:</b> It turns out to be very easy...</p>

<pre><code>function disableSelection() {
   document.onselectstart = function() {return false;} // ie
   document.onmousedown = function() {return false;} // others
}
function enableSelection() {
   document.onselectstart = null; // ie
   document.onmousedown = null; // others
}
</code></pre>

<p>After that, there's no text selection triggered on the move event (ie. on the select event -- ie - indeed ie!)</p>
