Friday 20 April 2012

Disable Copy Paste Option On Blogger

1 comments


How to post / blog cannot copy paste? Use any HTML or JavaScript. after you learn to disable right click option on blogger now time equip your blog with the function disable CTRL + C on your blog. I posted this tutorial is not to complicate the plagiarist, but just sharing it ..

1. Login to your Blogger account
2. Click the Design 
3. "Add a Gadget" in the "Page Elements"
4. Select "HTML / JavaScript"

Copy Paste the following code javascript
<!-- Disable Copy and Paste-->
<script language='JavaScript1.2'>
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function (&quot;return false&quot;)
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
5. Finally click Save and look at your blog!
The purpose onmousedown='return false;' is a mouse visitors can not resist and block the article. So I created a short tutorial that may be useful.

If the above does not work (usually due to default template), try the alternative below
1. Login to your Blogger account
2. Click the Design
3. "Edit HTML"
4. Place the following script code between <head> and code </ head> in the template
<SCRIPT type='text/javascript'> if (typeof document.onselectstart!=&quot;undefined&quot;) { document.onselectstart=new Function (&quot;return false&quot;); } else{ document.onmousedown=new Function (&quot;return false&quot;); document.onmouseup=new Function (&quot;return true&quot;); } </SCRIPT>
5. Save Template and see the results ..


One Response so far

  1. Good research and clear writing. Your collection encourages to go through all the information provided.
    Thanks
    Affiliate marketing

Leave a Reply