Cricket Live Score

Friday, February 17, 2012

To Restrict Copying Of Images From Your Blog..

Its simple to get your blog to do the same thing.
Step One -Sign in to your Blogger dashboad>Design>Add A Gadget (look at the screenshot below)
Click on Add Gadget.
Select Basic Option in the Gadget window..
Then Select Category as HTML/JavaScript option..

Click on the plus sign, leave the title box blank, and copy and paste all of the following yellow highlighted code into the Content portion of the box:

<SCRIPT language=JavaScript>
<!-- http://www.spacegun.co.uk -->
    var message = "No Copying Please!";
    function rtclickcheck(keyp){ if (navigator.appName == "Netscape" && keyp.which == 3){    alert(message); return false; } 
    if (navigator.appVersion.indexOf("MSIE") != -1 && event.button == 2) {    alert(message);     return false; } } 
    document.onmousedown = rtclickcheck;
</SCRIPT>



Then click "Save"
Now in your blog when ever try to copy any one it will display as "No Copying Please!"

No comments:

Post a Comment