Aqua-Soft Forums: How To Block Right-click On My Site - Aqua-Soft Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How To Block Right-click On My Site Rate Topic: -----

#1 User is offline   sanjalee Icon

  • Group: Member
  • Posts: 3
  • Joined: 12-May 09

Posted 12 May 2009 - 07:41 AM

Hi, anyone can help ?

i want to Block right-Click when some one visit My Website and also don't allow to save the Web Page ,
is it possible to do it with Simple HTML code ?
any help appreciated ,
0

#2 User is offline   rammass18 Icon

  • Group: Member
  • Posts: 227
  • Joined: 18-June 06

Posted 04 June 2009 - 04:12 AM

it's not really possible just through html, you'll need javascript.
0

#3 User is offline   albanjoe Icon

  • Group: Member
  • Posts: 1
  • Joined: 18-June 09

Posted 18 June 2009 - 10:13 AM

disable right click on the web page using this script....

<script language="JavaScript1.1">
<!-- var debug = true; function
right(e) { if (navigator.appName == 'Netscape' && (e.which == 3 || e.which
== 2)) return false; else if (navigator.appName == 'Microsoft Internet Explorer'
&& (event.button == 2 || event.button == 3)) { alert('This Page is fully
protected!'); return false; } return true; } document.onmousedown=right; if (document.layers)
window.captureEvents(Event.MOUSEDOWN); window.onmousedown=right; //--></script>
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic