Try creating a handler for select event on those elements and in the handler you can clear the selection.
Take a look at this:
Clear Text Selection with JavaScript
It's an example of clearing the selection. You'd only need to modify it to work only on the specific element that you need.