I have a canvas element in my HTML document. When I click inside of the canvas multiple times, it selects part of my element\'s text, which is before
If you want to use the mousedown event to do other things, you can prevent only text selection more specifically by setting the onselectstart event to return false.
//give your canvas an id, I used 'can'
var canvas = document.getElementById('can');
canvas.onselectstart = function () { return false; }