JSFiddle - React, Tailwind, and code Playground

by elias94xx

HTML

<a href="http://google.com">google.com</a><br>
<a href="http://google.com">google.com</a>

JavaScript

document.getElementsByTagName("a")[0].onclick = function(e) {
    if (e.ctrlKey) {
        return false;
    }       
}