javascript mobile disable press to select code example Example: disable right click with css document.oncontextmenu = new Function("return false;");