| CoLeR a întrebat:

Buna ziua TPU!
Am nevoie de un script ANTI CTRL+U!
Daca ma puteti ajuta v-as fi recunoscator.

5 răspunsuri:
| xplicitstudio a răspuns:


var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message); return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&! document.all)) {
if (e. which==2||e.which==3) {(message); return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN); document. onmousedown=clickNS;}
else{document. onmouseup=clickNS; document. oncontextmenu=clickIE;}

document. oncontextmenu=new Function("return false")
// -->


window. onkeydown=function(event){
var e=event||window. event;
if(e.keyCode===85 && e. ctrlKey===true){
e.stopPropagation();
e.preventDefault();
e.returnValue = false;
return false;
}
}

| AlexandruChiser a răspuns:

Var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message); return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&! document.all)) {
if (e. which==2||e.which==3) {(message); return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS;}
else{document.onmouseup=clickNS; document. oncontextmenu=clickIE;}

document. oncontextmenu=new Function("return false")
// -->


window. onkeydown=function(event){
var e=event||window. event;
if(e.keyCode===85 && e. ctrlKey===true){
e.stopPropagation();
e.preventDefault();
e.returnValue = false;
return false;
}
}


Iti opreste si ctrl+u dar si click dreapta

| CoLeR explică (pentru AlexandruChiser):

Din pacate nu functioneaza!

| xplicitstudio a răspuns (pentru CoLeR):

Add xplicit_costy si iti arat eu

| MoisaDMD a răspuns:

Acesta l-am incercat si merge.