MyBB Community Forums

Full Version: [Request] Don't Copy Mycode!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

I very need a my code for if any user write a letter or image or ... in this mycode and after send, other users can't copy this message.
For Example:

[dontcopy]
Hi You can't copy me!
[/dontcopy]

And if i send this message, member can't highlight and copy this text:
Hi you can't copy me!


Can anyone help me? i very need to this.
Thanks a lot.

Not anybody HELP?? I very need to this. PLEASE HELP!!
Here is a HTML and CSS code

HTML

<div class="select">text</div>
<div class="no-select">
<strong data-text="no-select text">no-select text</strong>
</div>
<div class="select">text</div>
---------------------

CSS

div.no-select > strong[data-text]:after {
content: attr(data-text);
}

----------------
.no-select{ user-select: none; }
(2014-12-31, 08:44 PM)rajeevrrs55 Wrote: [ -> ]Here is a HTML and CSS code

HTML

<div class="select">text</div>
<div class="no-select">
   <strong data-text="no-select text">no-select text</strong>
</div>
<div class="select">text</div>
---------------------

CSS

div.no-select > strong[data-text]:after {
   content: attr(data-text);
}

----------------
.no-select{ user-select: none; }

Do you have a for Dummies tutorial for this? I'm a bit lost with all the codes that I'm not sure where to put. Thanks!
Just to be clear, user-select is not part of any CSS standard, so support and functionality may vary across browsers.