Create A Forum - Support Forums
Support => General Support => Topic started by: TaoGem on February 28, 2021, 11:32:40 pm
-
Can I block people from being able to copy and paste the text on my forum ? Actually, just the ability to copy part ..
-
It is possible to stop with a javascript code search on google for some examples.
-
I have read about those scripts, but they do not prevent someone from viewing the page source and copying from there.
Just thought you might have something different through our Admin..
-
No, there is no way to prevent that.
-
For anyone interested. This code placed in header blocks all right click abilities.
Text is protected, and also the ability to inspect or view page source info. At least I do not know if there is a way someone can get around this block to view and inspect page source. If someone knows a way to get around the blocking of right clicks to view and inspect page source, please let me know..
I mainly want to protect all my text information from being copied. The downside is that it also removes the ability to right click and open a page into a second browser so that you do not loose the page your on, which is how I enjoy navigating any website. But guess that is part of the trade off..
If I am missing something ? Like if someone knows of a keyboard command or some other method people can use to over ride this blocking of right clicks, or being able to get around it to inspect and view page source, please let me know. Because if I am wasting my time with this, I would remove it.
Any help or additional information greatly appreciated.
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script> <script type="text/javascript"> $(function () { $(this).bind("contextmenu", function (e) { e.preventDefault(); }); }); </script>
-
Well that whole idea was a waste of time.. Just found this for bypassing
"If your only intention is to copy text from a website that is blocking it, then you don’t need to disable anything. Just press “Ctrl + P” to open printing options and copy text from the print preview. Alternatively, you can press “Ctrl + U” to access a web page’s source code to look for the required text (Browser’s “Find” [Ctrl + F] option will help)."
-
Yeah, they are all easy to bypass. It just stops beginners.