Disable Right click from Blogger /
Blogspot
Do you have ever noticed, that some web sites
do not allow their viewers to see their page source or you cannot access their webpage
code or inspect element using right click on your mouse. This article is for
those viewers who wants to learn about why they cannot do right click. The main
thing is that the site owner doesn’t wants their viewers/visitors to see which
could bring threats like misleading of their information or copying codes or
any unauthorise uses for the site ,the
main things is that they wants to minimize the risk of the content direct
copying to other posts.
Right click on any internet web browser
is very important for those who wants to have information for doing their
project work, assignment or for completing their some other tasks. It also ease
to access for the viewers to copy the images, texts and others. It’s plays
vital role when it comes to webmasters too. But some people uses it in a bad
way and mislead the information by browsing the web content from others
website, and you may not want to make right click able on your blog/websites to
protect you text, images links.
To setup the
disabling in your blog Copy the
Following code and paste it to your blog by adding a new page element.
Step 1 : Go to Dashboard > Layout > Add Gadget > HTML /
JavaScript
Step 2 : Copy the below code and paste it in that blogger widget.
Step 2 : Copy the below code and paste it in that blogger widget.
========================================================================
<script language=JavaScript> <!-- //Disable right mouse click Script //By Being Geeks //For full source code, visit http://www.beinggeeks.com var message="Function Disabled!"; /////////////////////////////////// function clickIE4(){ if (event.button==2){ alert(message); return false; } } function clickNS4(e){ if (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){ alert(message); return false; } } } if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } else if (document.all&&!document.getElementById){ document.onmousedown=clickIE4; } document.oncontextmenu=new Function("alert(message);return false") // --> </script>
===========================================================================================
Step 3 : Save the html/javascript and view you blog.
Now, refresh your blog page and
then when you will try to do right click, a message will tell you that
“Function disabled”, and if you want to change this words” Function Disabled”
Then simply find it in code and replace it.
Above
method will disable the right click on your blogger blog.
Another thing
is that many of the viewers asked “Do they should use Blogger or WordPress for
their new website?”, and it is a frequently asked question from new bloggers.
If you are still using blogger for your blog then I will always recommend you
to switch to the WordPress.
WordPress
gives you freedom to do anything you can access to no’s of plugins and
wordpress tool and it is good for SEO too because automatically traces the
content of wordpress blog/website. So, if you are tired of using blogspot and
want to start something different for your blog, I would suggest to open an
account on wordpress because it helps you to monetize has a great resources
like different themes, plugins, widgets, SEO tools and are more flexible than blogger.