JSFiddle - React, Tailwind, and code Playground

HTML

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

JavaScript

$("a").on('click', function(e) {
    if (e.which == 2) {
        e.preventDefault();
    }
});