. For the sub-function of NS6, fulfilling Windows
sidebar option, 'disableselect' function is activated on mouse down and 'reEnable' on mouse click. Finally, closing of copyright option is necessary despite disabling the right-click option for securing
the contents of a webpage.
Disabling right-click on your webpage
You should insert the following code in the head of your HTML document, between the <HEAD></HEAD> tags.
document.onselectstart=new Function ("return false")
document.oncontextmenu=new Function ("return false")
In the same category
Published by deri58
. - Latest update by Celia Gatward