Merhaba input yazi yazma kisminda copypaste özeligini kapatmak istiyorum
bir çok yontem denedim olmadı

taraycida çalışan kısım söyle

altaki kod calsiyor sorunsuz lakin diğer istedim yapistir özeligini yapamıyorum.





Yukardaki kod incele kısımdan cikan bölüm normalde öyle bir html kodları yok.

yukardakinin kodları bu asagidaki kodlardir.

var inputbox = new Element("input");
var cima = new Element("input");
this.addEvent("signedOn", function() {
inputbox.placeholder = " Birseyler yaz.";
});
form.appendChild(inputbox);
this.inputbox = inputbox;
this.inputbox.maxLength = 470;






createInput: function() {
var form = new Element("form");
this.input.appendChild(form);

form.addClass("inputt");

var inputbox = new Element("input");
var cima = new Element("input");
this.addEvent("signedOn", function() {
inputbox.placeholder = " Birseyler yaz.";
});
form.appendChild(inputbox);
this.inputbox = inputbox;
this.inputbox.maxLength = 470;


var sendInput = function() {
if (inputbox.value == "")
return;

this.resetTabComplete();
this.getActiveWindow().historyExec(inputbox.value, messagerenk);
inputbox.value = "";
inputbox.placeholder = "";
}.bind(this);

if (!qwebirc.util.deviceHasKeyboard()) {
inputbox.addClass("mobile-input");
var inputButton = new Element("input", {
type: "button"
});
inputButton.addClass("mobile-button");
inputButton.addEvent("click", function() {
sendInput();
inputbox.focus();
});
inputButton.value = "";
this.input.appendChild(inputButton);
var reflowButton = function() {
var containerSize = this.input.getSize();
var buttonSize = inputButton.getSize();

var buttonLeft = containerSize.x - buttonSize.x - 5; /* lovely 5 */

inputButton.setStyle("left", buttonLeft);
inputbox.setStyle("width", buttonLeft - 5);
inputButton.setStyle("height", containerSize.y);
}.bind(this);
this.qjsui.addEvent("reflow", reflowButton);
} else {
inputbox.addClass("keyboard-input");
}

form.addEvent("submit", function(e) {
new Event(e).stop();
sendInput();
});

var reset = this.resetTabComplete.bind(this);
inputbox.addEvent("focus", reset);
inputbox.addEvent("mousedown", reset);
inputbox.addEvent("keypress", reset);

inputbox.addEvent("keydown", function(e) {
var resultfn;
var cvalue = inputbox.value;

if (e.alt || e.control || e.meta)
return;

if (e.key == "up" && !e.shift) {
resultfn = this.commandhistory.upLine;
} else if (e.key == "down" && !e.shift) {
resultfn = this.commandhistory.downLine;
} else if (e.key == "tab") {
this.tabComplete(inputbox, e.shift);

new Event(e).stop();
e.preventDefault();
return;
} else {
return;
}

this.resetTabComplete();
if ((cvalue != "") && (this.lastcvalue != cvalue))
this.commandhistory.addLine(cvalue, true);

var result = resultfn.bind(this.commandhistory)();

new Event(e).stop();
e.preventDefault();

if (!result)
result = "";
this.lastcvalue = result;

inputbox.value = result;
qwebirc.util.setAtEnd(inputbox);
}.bind(this));
},