How to prevent user from selecting and copying text from my webpage


#1

Anyone know how to do in BLOCS 2 to prevent user selecting and copying the text contents?


#2

There is no 100% way because of screen readers, character recognition software etc. But you can make it a bit (not much) harder with css. WARNING: People will be able to still view your code and copy text from there.

Do it in css by adding this class.
.noselect { user-select: none; }