Results 1 to 2 of 2
  1. #1
    Registered User sambitha's Avatar
    Join Date
    Apr 2009
    Posts
    3

    how to block right-click on my site

    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 ,

  2. #2
    Junior Member
    Join Date
    Apr 2009
    Posts
    23
    disable right click on the web page using this script....

    Code:
    <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>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.