Streaming live at 10am (PST)

Disable text selection (copy/paste)

I just created a website and I would like to know how we can disable the text selection on any page of the website. I know this is not a very effective solution to prevent stealing but I just would like to discourage people from copying my text.
I saw that it’s possible with some custom code but I can’t figure out how to do it on my own (newbie here and never done this before :unamused: :grimacing: )
Thank in advance.

Here is my site Read-Only: LINK
(how to share your site Read-Only link)


css solution:

.unselectable {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;

js/jquery solution:

try this

Thank you for your reply Vish. But pardon my ignorance, where do I paste that exactly? :grimacing:

Sorry just saw this.This will be custom code.

tricky.can u be more specific on the portion.Would be always same and contain certain number of words or lines?