XenForo Do Not Copy

GuDron

Super Moderator
Staff member
Super Moderator
Jan 28, 2020
819
7
268
Language
English
Of course, we do not want the original content we share in our forum to be copied and used in other forums and sites.

Even though there are plugins available on our site xenforo.gen.tr, I will share with you a way to protect our content with a plugin-free and very simple code structure.

AdminCp ---> Appearance And in Languages ---> Templates ---> templates we find our
PAGE_CONTAINER template ...
Code:
<script>
$(document).bind('copy', function(e){
alert ('THIS PART IS A WARNING TO YOU WHO WANT TO COPY'); // Make alert for your visitors.
return false;
});
</script>
We add our codes mentioned above at the bottom of our template ...
alert ('THIS PART IS A WARNING TO YOU WHO WANT TO COPY');