How to Stop/Disable Copy-Paste On Your Blog

For those of us that have have been looking for methods to prevent other people from copying your hard written posts, I will be using this opportunity to teach you guys how to do that through a JavaScript code which you will use to disable copy paste on your blog.

Now copy and paste this code BEFORE tag in your HTML code..

function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false" )
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}

and that’s all your post are now safe…

ALSO READ:  Infinix Zero 4 is rumoured to have 4000MAh Battery, 16MP Front Camera, Android 7.0 Nougat

I’ve applied it and tested it on this blog and it is working fine but I had to remove it so as to enable you guys to copy the above code and paste on your blogs.

For Latest School Gist, Admission Tips and Educational News Click HERE
Join GuruBasics Telegram Channel For your latest free browsing cheat, tech news, phone reviews, tutorials and many more by clicking HERE
Check out the REASONS why you should always comment on posts HERE
ALSO READ:  Infinix XOS 3 Custom UI Has Been Released on Zero 5
Download Our Android App HERE

Get Our Hottest Updates via SMS. Kindly SMS FOLLOW GURUBASICS to 40404. On Any Network. It Is Totally FREE. Download Our Android App From HERE
To Submit Your Guest Post Or Sponsored Article, Enter HERE. Click HERE To Our Join Telegram Group
wizytechs blog-bg
For latest school news, admission tips and education gists, Click HERE
Join GuruBasics Telegram Channel For your latest free browsing cheat, tech news, phone reviews, tutorials and many more by clicking HERE
Download Our Android App HERE

2 Comments

Add a Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

GuruBasics © 2018