event.returnValue is deprecated. Please use the standard event.preventDefault() instead.

by katalin_2003

HTML

<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<!-- v1.11 fixes it -->
<!--<script src="http://code.jquery.com/jquery-git.js"></script>-->

<a href="http://www.google.com" class="block-me" target="_blank">Click me, if you check console on Chrome Canary, you'll se a warning</a>

JavaScript

$('.block-me').on('click', function(ev){
    ev.preventDefault();
    console.log('link prevented from execution ', new Date().getTime());
});