Sometimes you don’t want people who visit your blog can not right click or select any thing. Follow the step you can do this. Just copy and paste these code below. Where you can paste these code?
- On a new Widget (with Blogspot, WordPress,…)
- On a new post that support javascript (Blogspot) – With this, code only work with single post.
- On a template (between <body></body> tag)

1/ Prevent Right Click And Select: Just copy and paste this script: Exp: http://test.vtechtip.com/2009/11/prevent-right-click-and-select.html
document.onselectstart=new Function(‘return false’);
function ds(e){return false;}
function ra(){return true;}
document.onmousedown=ds;
document.onclick=ra;
document.oncontextmenu = function (){ return false};
</script>
<script language=’JavaScript’>
if (top.location != self.location)
{top.location = self.location}
</script>
2/ Prevent Select Only: Ex: http://test.vtechtip.com/2009/11/prevent-right-click-only.html
document.onselectstart=new Function(‘return false’);
function ds(e){return false;}
function ra(){return true;}
document.onmousedown=ds;
document.onclick=ra;
</script>
<script language=’JavaScript’>
if (top.location != self.location)
{top.location = self.location}
</script>
3/ Prevent Right Click Only: Ex: http://test.vtechtip.com/2009/11/prevent-right-click-only_01.html
document.onselectstart=new Function(‘return false’);
function ds(e){return false;}
function ra(){return true;}
document.oncontextmenu = function (){ return false};
</script>
<script language=’JavaScript’>
if (top.location != self.location)
{top.location = self.location}
</script>
Related posts:
Related posts:
















































Right! It's easily to stop these code.
Right! It's easily to stop these code.
I use Tynt Tracer Now called Tynt Insight it's Much Better as it Drives Traffic and Links Back to your Site
I use Tynt Tracer Now called Tynt Insight it's Much Better as it Drives Traffic and Links Back to your Site
Hmmm, Tynt is really a good tool to help webmaster drive traffic from copier.
Hmmm, Tynt is really a good tool to help webmaster drive traffic from copier.
Yes Let them Copy all they Want
Yes Let them Copy all they Want
Copy with a backlink, allright?
Copy with a backlink, allright?