Do you know how to disable a user-only link? I have
<div class="searchoffertext" onclick="searchoffertext_selected('Banana')"><a href="./search/Banana">Banana</a></div>
So the idea is that link / search / Banana is a valid link, and I want to keep it for search index engines. However, I want when the user clicks on the link, the searchoffertext_selected function is called and nothing else happens.
source share