I'm trying to make some text not copyable, my goal is not to prevent people from copying text from my site, but even more to simplify its use. I have a list of files with file size, but I only want to copy the file names, not the file size.
So far I tried several different methods, but did not work, I managed to get the text without selection using a CSS user, but I can still copy the file size when two or more lines are selected.
I just tried using a button to prevent copying in which the ether did not work, any ideas?
<a href="http://10.10.10.1/links/file.doc"file.doc</a>
<button type="button" disabled="disabled" id="filesize">6 MB</button><br \>
The target browser is Safari on Mac, so the experimental CSS3 or HTML5 commands that work with the latest Safari are great.
(Thanks mvds for the proposed title and one solution)
source
share