window.onload = function(){ document.oncontextmenu = function(){   return false; } document.getelementbyid("videono").oncontextmenu = function(e){    return false; } var iframe = document.getelementbyid("videono"); iframe.onload = function() { iframe.oncontextmenu = function(e){    return false; } } function donothing(){ window.event.returnvalue=false; return false; console.log(1); } function iesc(){ return false; } function irec(){ return true; } function disablekeys() { if(event.ctrlkey || event.shiftkey || event.altkey) { window.event.returnvalue=false; iesc();} } document.ondragstart=iesc; document.onkeydown=disablekeys; document.oncontextmenu=iesc; if (typeof document.onselectstart !="undefined") document.onselectstart=iesc; else{//qsyz.net document.onmousedown=iesc; document.onmouseup=irec; } function disablerightclick(www_qsyz_net){ if (window.event){ if (www_qsyz_net.which == 2 || www_qsyz_net.which == 3) iesc();} else if (event.button == 2 || event.button == 3){ event.cancelbubble = true event.returnvalue = false; iesc();} } var iframe = document.getelementbyid('ifm'); iframe.οnlοad=function(){ iframe.contentwindow.document.οncοntextmenu=function(){return false;}; iframe.contentwindow.document.onselectstart=function(){return false;}; }; }