3 Replies - 1528 Views - Last Post: 11 October 2009 - 04:29 AM

#1 vip3r4lif3  Icon User is offline

  • New D.I.C Head
  • member icon

Reputation: 0
  • View blog
  • Posts: 23
  • Joined: 30-July 06

No Right Click

Posted 04 August 2006 - 07:55 AM

Description: Put the code below under the head tag.No right click, which doesnt let people like, let people see your page code, or save anything that right click allows people to take stuff from your page.
<script language="Javascript"> 
<!-- var popup="Sorry, right-click is disabled.nnThis Site Copyright ©2006"; function noway(go) { if 
(document.all) { if (event.button == 2) { alert(popup); return false; } } if (document.layers) 
{ if (go.which == 3) { alert(popup); return false; } } } if (document.layers) 
{ document.captureEvents(Event.MOUSEDOWN); } document.onmousedown=noway; // --> 
</script>


Is This A Good Question/Topic? 0
  • +

Replies To: No Right Click

#2 coaster3000  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 1
  • View blog
  • Posts: 99
  • Joined: 28-August 08

Re: No Right Click

Posted 24 August 2009 - 12:37 PM

This is great thanks. But i'm not sure if i'm going to need this yet. So i will wait. ;) well i might need it for certain things. 5/5 rating
Was This Post Helpful? 0
  • +
  • -

#3 kewlkreator  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 39
  • View blog
  • Posts: 1,068
  • Joined: 25-March 09

Re: No Right Click

Posted 06 September 2009 - 10:11 PM

This won't stop them for long. Only beginner users.
Was This Post Helpful? 0
  • +
  • -

#4 bammurdo  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 3
  • View blog
  • Posts: 62
  • Joined: 03-October 09

Re: No Right Click

Posted 11 October 2009 - 04:29 AM

As Kewlkreator said, this will only stop beginners ... a more advanced/intermediate person would be able to get around it. For example, they could just disable Javascript ... bam :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1