how to make it so you cant right click on something in css code example Example: disable right click with css document.oncontextmenu = new Function("return false;");