How to Disable CTRL+U, CTRL+C and Right Click on a Webpage - SetFlix - The Latest Online Tools
Responsive Ads Here

Post Top Ad

Your Ad Spot

Sunday, 11 July 2021

How to Disable CTRL+U, CTRL+C and Right Click on a Webpage

How to Disable CTRL+U, CTRL+C and Right Click on a Webpage

How to Disable CTRL+U, CTRL+C and Right Click on a Webpage
 
In one among my previous posts, we saw how you'll disable text selection on an internet page that works supported CSS that ultimately prevents users from selecting any text from your webpage, but why should we do this?
 
You should do that to stop people from stealing/copying your content. But there are many other ways to repeat the content from a webpage, albeit the section of text is disabled on your webpage.
 
So, alternately you'll use a more robust javascript code that doesn't only disable the choice of text but also disables CTRL + U (can be wont to see actual HTML code), CTRL+C (can be wont to copy highlighted/selected text), and right-clicks (displays list of options to try to to something with the item like view source, copy, paste, etc.) on your website/blog.

So now, let’s move to the tutorial of disabling CTRL+U, CTRL+C key, and right-click on your website/blog. In your blog’s HTML, look for the tag. Just above it, paste it below javascript code.
 
 

No comments:

Post a Comment

Post Top Ad

Your Ad Spot