How To Disable the Right Click



Don't want people to right click on your photos? People are stealing or copying your photos from your Tumblr Blog and you don't like it? No more worries, here's a really quick and easy tutorial on How to Disable the Right Click from your blog. Follow this quick instructions...
• Go to your Customize Theme on your Tumblr Blog >> click Edit HTML.
• Once there find the tag <head>, if you're having problems to find it use CONTROL+F to search for it.


• Once you found it  Insert this code RIGHT AFTER the <head> tag. If you have more than one <head> make sure you do the same.


<script type="javascript">
function nrcIE() {
        if (document.all) {
            return false;
        }
}
function nrcNS(e) {
        if (document.layers || (document.getElementById && ! document.all)) {
            if (e.which == 2 || e.which == 3) {
                return false;
            }
        }
}
if (document.layers) {
    document.captureEvents(Event.MOUSEDOWN);
    document.onmousedown = nrcNS;
}else {
    document.onmouseup = nrcNS;
    document.oncontextmenu = nrcIE;
}
document.oncontextmenu = new Function("return false");
</script>



• Once you finish, click on the UPDATE PREVIEW >>  SAVE >> CLOSE. And that's it your done. Now Right Click on your blog is disable!





Reactions: