7

Вопрос по jquery, javascript – Кросс-браузерный метод для предотвращения всех методов копирования текста из текстовой области?

Error: User Rate Limit Exceededevt.preventDefault();Error: User Rate Limit ExceededCError: User Rate Limit ExceededEdit -> CopyError: User Rate Limit Exceeded

Error: User Rate Limit Exceededabout:configError: User Rate Limit Exceededdom.event.clipboardevents.enabledError: User Rate Limit Exceededfalse.

от Lambart

Error: User Rate Limit Exceeded

от think123

Error: User Rate Limit Exceeded

от GoSmash

Error: User Rate Limit Exceeded

от Kamal
4 ответа
0

Error: User Rate Limit Exceeded

$('textarea').on('copy paste cut drag drop', function (e) {
   e.preventDefault();
});

Error: User Rate Limit Exceeded

от 
1

Error: User Rate Limit Exceeded

Error: User Rate Limit ExceededpreventDefault()Error: User Rate Limit Exceeded

от 

Error: User Rate Limit Exceeded

от think123

Error: User Rate Limit Exceeded

от think123

Error: User Rate Limit Exceeded

от think123

Error: User Rate Limit Exceeded

от 
4

Error: User Rate Limit Exceeded

$('input[type=text],textarea').bind('copy paste cut drag drop', function (e) {
   e.preventDefault();
});

Error: User Rate Limit Exceeded

от 

Error: User Rate Limit Exceeded

от 

Error: User Rate Limit ExceededjQueryError: User Rate Limit Exceededjsfiddle.net/tkmkN

от 

Error: User Rate Limit Exceeded

от 

Error: User Rate Limit Exceeded

от think123
2

Error: User Rate Limit Exceeded

var txtArea = document.getElementById("YourTextAreaId");
txtArea.oncopy = function() { return false; } 
txtArea.onpaste = function() { return false; } 
txtArea.oncut = function() { return false; } 

Похожие вопросы