How To Disable Right,Double and View Source Disable

In My Website You can see I Disable All Things like Right,Double and View Source.If You want to disable these items in your website So:-

Disable Right Click:-

    
     <script>
     	// Disable right-click
document.addEventListener('contextmenu', function(event) {
  event.preventDefault();
});

// Show an alert when right-click is disabled
window.addEventListener('contextmenu', function() {
  alert('Right-clicking is disabled on this page.');
});
     </script>
    
  

Disable Double Click:-

    
     <script>
        // Function to handle the double click event
function handleDoubleClick(event) {
  // Prevent default double click behavior
  event.preventDefault();

  // Show an alert
  alert("Double click disabled!");
}

// Add event listener to the document or element
document.addEventListener("dblclick", handleDoubleClick);
     </script>
    
  

Disable View Source:-


₹49.00 

How You Can Purchase This Product:-

If You want to purchase this code so you Simply Click On Buy Codes, then you redirect to Whatsapp. In Whatsapp our team chat with you and send a QR code you pay on QR Code You get your codes.

How To Disable Right,Double and View Source Disable

Previous Post Next Post

Contact Form