DIR Return Create A Forum - Home
---------------------------------------------------------
Create A Forum - Support Forums
HTML https://support.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: General Support
*****************************************************
#Post#: 24119--------------------------------------------------
Can We Block Copy and Pasting / Right Click Blocking
DIR By: TaoGem
Date: February 28, 2021, 5:32 pm
---------------------------------------------------------
Can I block people from being able to copy and paste the text on
my forum ? Actually, just the ability to copy part ..
#Post#: 24120--------------------------------------------------
Re: Can We Block Copy and Pasting
DIR By: CreateAForum
Date: February 28, 2021, 6:52 pm
---------------------------------------------------------
It is possible to stop with a javascript code search on google
for some examples.
#Post#: 24121--------------------------------------------------
Re: Can We Block Copy and Pasting
DIR By: TaoGem
Date: February 28, 2021, 7:37 pm
---------------------------------------------------------
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..
#Post#: 24122--------------------------------------------------
Re: Can We Block Copy and Pasting
DIR By: CreateAForum
Date: February 28, 2021, 7:58 pm
---------------------------------------------------------
No, there is no way to prevent that.
#Post#: 24126--------------------------------------------------
Re: Can We Block Copy and Pasting / Right Click Blocking
DIR By: TaoGem
Date: March 3, 2021, 5:00 am
---------------------------------------------------------
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.
--- Code ---
<script
src="
HTML http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"<br
/>type="text/javascript"></script> <script
type="text/javascript">
$(function () { $(this).bind("contextmenu", function (e) {
e.preventDefault(); }); }); </script>
--- End Code ---
#Post#: 24127--------------------------------------------------
Re: Can We Block Copy and Pasting / Right Click Blocking
DIR By: TaoGem
Date: March 3, 2021, 9:07 am
---------------------------------------------------------
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)."
#Post#: 24128--------------------------------------------------
Re: Can We Block Copy and Pasting / Right Click Blocking
DIR By: CreateAForum
Date: March 3, 2021, 9:15 am
---------------------------------------------------------
Yeah, they are all easy to bypass. It just stops beginners.
*****************************************************
Page 1 of 1