I have a bookmarklet I want people to drag to bookmarks bar. The hings is I'd like to prevent the function is fired if accidentally the bookmarklet is clicked in the web page. How can I do so?
Thanks
<div id="bookmarklet">
<a href="javascript:(function(){alert('mimmo');});" class="title">Bookmarklet</a>
</div>