css disable right click menu code example Example: disable right click with css document.oncontextmenu = new Function("return false;");