document.onselectstart = nocopy; document.oncontextmenu = nocopy; document.ondragstart = nocopy; function nocopy(){ return false; }