News:

Create A Forum Installed

Author Topic: Can We Block Copy and Pasting / Right Click Blocking  (Read 334 times)

0 Members and 1 Guest are viewing this topic.

Offline TaoGem

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 0
    • View Profile

Badges: (View All)
Tenth year Anniversary Nineth year Anniversary Avatar
Can We Block Copy and Pasting / Right Click Blocking
« 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 .. 
« Last Edit: March 03, 2021, 11:13:07 am by TaoGem »

Share on Facebook Share on Twitter


Offline CreateAForum

  • Administrator
  • *****
  • Posts: 7186
  • Karma: 327
    • View Profile

Badges: (View All)
Avatar Linux User Tenth year Anniversary
Re: Can We Block Copy and Pasting
« Reply #1 on: March 01, 2021, 12:52:32 am »
It is possible to stop with a javascript code search on google for some examples.
Like Create A Forum? Support me at https://www.patreon.com/vbgamer45/

Offline TaoGem

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 0
    • View Profile

Badges: (View All)
Tenth year Anniversary Nineth year Anniversary Avatar
Re: Can We Block Copy and Pasting
« Reply #2 on: March 01, 2021, 01:37:16 am »
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..

Offline CreateAForum

  • Administrator
  • *****
  • Posts: 7186
  • Karma: 327
    • View Profile

Badges: (View All)
Avatar Linux User Tenth year Anniversary
Re: Can We Block Copy and Pasting
« Reply #3 on: March 01, 2021, 01:58:25 am »
No, there is no way to prevent that.
Like Create A Forum? Support me at https://www.patreon.com/vbgamer45/

Offline TaoGem

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 0
    • View Profile

Badges: (View All)
Tenth year Anniversary Nineth year Anniversary Avatar
Re: Can We Block Copy and Pasting / Right Click Blocking
« Reply #4 on: March 03, 2021, 11:00:09 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: [Select]


<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>
« Last Edit: March 03, 2021, 11:16:34 am by TaoGem »

Offline TaoGem

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 0
    • View Profile

Badges: (View All)
Tenth year Anniversary Nineth year Anniversary Avatar
Re: Can We Block Copy and Pasting / Right Click Blocking
« Reply #5 on: March 03, 2021, 03:07:50 pm »

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)."



Offline CreateAForum

  • Administrator
  • *****
  • Posts: 7186
  • Karma: 327
    • View Profile

Badges: (View All)
Avatar Linux User Tenth year Anniversary
Re: Can We Block Copy and Pasting / Right Click Blocking
« Reply #6 on: March 03, 2021, 03:15:50 pm »
Yeah, they are all easy to bypass. It just stops beginners.
Like Create A Forum? Support me at https://www.patreon.com/vbgamer45/
Like Like x 1 View List

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
391 Views
Last post July 10, 2013, 01:41:56 pm
by WholesaleChat
3 Replies
628 Views
Last post December 19, 2013, 11:15:23 pm
by CreateAForum
1 Replies
613 Views
Last post April 01, 2014, 11:19:43 pm
by CreateAForum
1 Replies
264 Views
Last post November 09, 2014, 10:09:15 pm
by Tropical_Wannabe
2 Replies
1007 Views
Last post April 16, 2020, 06:32:48 pm
by mickjav