A script that disables right click

Asked By 10 points N/A Posted on -
qa-featured

I am a blog owner and I always got a problem about copyrights. Most of my post in my blog are being copied. I know there is a script that disables right click. Can someone tell where to find it or if you have it can you put it here?

SHARE
Best Answer by diana arvana
Answered By 0 points N/A #129185

A script that disables right click

qa-featured

Hi, i understand what you feel , I've been there. But using is not the best way to block visitors from seeing you detailed information, and basically what these scripts do is to disable the access to the context menu using the mouse right-click, still this context menu can be access directly using the keyboard and that does not solve the problem for you, a better solution will be to disable the context menu within the <body> tag, as follows : <body "oncontextmenu = return false;">. This of course will disable the context menu for all your visitors including those who want to use for legitimate raison so you need to consider that!!

Best Answer
Best Answer
Answered By 20 points N/A #129186

A script that disables right click

qa-featured

hi there. you can use the disable right click script in this blog

Techie-agent is a blog that gives basic blogging tutorials, seo tutorials, how to get free backlinks, meta tags and other stuff that can help your blog to be on top. 

Answered By 5 points N/A #129187

A script that disables right click

qa-featured

There are many scripts that only blocks the context menu from your mouse but can still access through the keyboard such as clicking on the object that they want to copy and hold down the Shift+F10 key. A simple script will help you blocks all access on the context menu both from your mouse and keyboard. Just add this on your <body> content.

<body oncontextmenu="return false;">

But you have to note down that this script won't work on all browsers such as Opera. It ignores all the no right click script. And it can also be re-enabled by typing javascript:void oncontextmenu(null) on the address bar of their browser.

 

Related Questions