Today, In this Post we will learn about how to protect (Disable Copying Text) your hard work spend in creating and writing fresh articles on your website or blog by being stolen by some others.
As we know that, Copying the content from website and placing it elsewhere is common on the net. But with this small script you can stop them to do so.
This key is valid for almost any sites. This trick will probably disable Select All (Ctrl+A) function to your site.
Sometimes the trick may not be compatible with some old browsers. But, we will see how to make things more secure in my future posts.
Steps to implement to Blogger (Disable Copying Text):
1. Go to Dashboard > Select the blog where you would like to implement the code
2. Go to Layout > Add a Gadget > Select “HTML/JavaScript gadget”
3. Paste the following code in the box:
<script src='demo-to-prevent-copy-paste-on-blogger_files/googleapis.js'></script>
<script type='text/javascript'>
if (typeof document.onselectstart!="undefined" ) { document.onselectstart=new Function ("return false" );
} else { document.onmousedown=new Function ("return false" ); document.onmouseup=new Function ("return true" );
}
</script>
4. You are done!!! Check out how it works.
Note: The above code can also be placed between <head> & </head>
Final Words:
So that’s the small and effective trick to protect your content from copycats. Soon we will write more articles to protect your content so Stay Tuned! Share this post with your friends and drop your views in comments till then Peace, Blessings and Happy Blessings.
Join us On Telegram for More Useful Stuffs. Thank You.
You May Also Read:
- How to Create Google Analytic Tool Account Full Detail
- How to Create a Blog on Blogger Complete Guide for Beginners
- How to Shrink a Drive in Windows 10
- How to convert Audio/Video File to text Free Quickly
- How to delete Facebook account permanently
- How to Link PAN Card to Aadhaar Card Online through e-Filing Website
- How to use android Phone as Microphone | Mic
- How to Type in Hindi Using Google Input Tool
- How to SetUp OpenVPN Connect On Android 2019 (Hindi) [Updated]
- How to create Bootable USB Drive with Rufus
0 Comments