Based on an example put by Sergio - How prevent a click on a link / anchor or element with event tied
Example of my authorship
var ancora = document.getElementsByClassName('baixar');
for (var i in ancora) {
document.captureEvents(Event.MOUSEUP | Event.MOUSEDOWN | Event.CLICK | Event.DBLCLICK)
ancora[i].onclick = colorir;
ancora[i].ondblclick = colorir;
ancora[i].onmouseup = colorir;
ancora[i].onmousedown = colorir;
}
function colorir() {
var bloqueado = true;
if (bloqueado) return false;
}
<div id='lista'>
<p><a href="https://sites.google.com/site/mplayerplugin/repositorio/skate.webm">Skate</a></p>
<p><a href="https://sites.google.com/site/mplayerplugin/repositorio/animais_cantando.webm" class="baixar">Animais cantando</a></p>
<p><a href="https://sites.google.com/site/mplayerplugin/repositorio/equipment_these_days.webm" class="baixar">Equipment these days</a></p>
<p><a href="https://sites.google.com/site/mplayerplugin/repositorio/peck_pocketed.webm" class="baixar">Peck Pocketed</a></p>
<p><a href="https://sites.google.com/site/mplayerplugin/repositorio/procurando_dory.webm">Procurando Dory 2</a></p>
</div>
Quote from Sergio
One last suggested option here is to block this element with another element. By using z-index it is possible to override another element, in this case transparent so that the user does not notice (and not ruin the layout) override this element that wants to "protect" from clicks, or other interaction. Note that this option prevents for example from selecting text and other events in elements that may be visible, thus being inaccessible to the user.
And it would be like Sergio did in this given example. However I wanted something simpler, a readable, didactic semantics.