Notification texts go here. Contact Us Buy Now!
$10.00
10
$000

Get your blog ready With details you won't find anywhere.

blogger widgets | How to add disable CTRL + U and right click to become auto redirect

"Protect Your Code: Learn how to safeguard your website from prying eyes with effective JavaScript techniques to disable Ctrl+U, right-click, copy sou
abdalrahman
Please wait 0 seconds...
Scroll Down and click on Go to Link for destination
Congrats! Link is Generated


Have you ever done pressing CTRL + U to see the code (View Page Source/View Page Info) on the Blog you are visiting? And have you ever pressed Right Click on the blog you are visiting to COPAS an article?

how-to-add-disable-ctrl---u-and-right-click-to-become-auto-redirect



This activity ( CTRL + U ) is usually carried out by bloggers who want to imitate the appearance of the blog so that it looks the SAME as the blog he is visiting and can COPAS the contents of the article by pressing CTRL + U even though an anti-COPAS script has been installed on the blog.

Well, if you want to prevent copy paste (COPAS) of posts/articles on your blog, turn off the right click function (disable right click) and simultaneously turn off CTRL + U, then follow these practical steps.

How to Add disable CTRL + U and right click to become auto redirect


  1. Go to Template > Edit HTML
  2. Put the code below just above the code </body>

<script type='text/javascript'>
//<![CDATA[
//Script Redirect CTRL + U
function redirectCU(e) {
 if (e.ctrlKey && e.which == 85) {
 window.location.replace("https://www.howto-bloggers.com/");
 return false;
 }
}
document.onkeydown = redirectCU;

//Script Redirect Klik Kanan
function redirectKK(e) {
 if (e.which == 3) {
 window.location.replace("https://www.howto-bloggers.com/");
 return false;
 }
}
document.oncontextmenu = redirectKK;
//]]>
</script>


If you only want to install the Disable CTRL + U code, here's the code: 

<script type='text/javascript'>
//<![CDATA[
//Script Redirect CTRL + U
function redirectCU(e) {
 if (e.ctrlKey && e.which == 85) {
 window.location.replace("https://www.howto-bloggers.com/");
 return false;
 }
}
document.onkeydown = redirectCU;
//]]>
</script>


And if you only want to Disable Right Click :

Tips
Replace https://www.howto-bloggers.com/.id with your blog address, this works if someone presses CTRL + U and Right Click will automatically redirect to your blog address.

Then Save .

That's all about how to disable CTRL + U and right click to become an auto redirect . Hope it is useful.

keywordsmost searshed

disable ctrl+u javascript Disable Right Click Disable CopySource Code Disable Select Text, View Source Code Disable View Source Code blogger
Read Also

Getting Info...

Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.