Скорее всего, нет доступа к 
clipboardData. Но обходной маневр есть - содержимое клипборда находится в input. И maxlength надо убрать.
Полный код:
HTML
<input id="txt2" type="text" placeholder="Paste your text">
<textarea id="txt" disabled></textarea>
JS
document.querySelector("#txt2").addEventListener("paste", function(e) {
            alert("Thanks")
      e.preventDefault();	
      var pastetext = e.clipboardData.getData("text/plain");
      document.getElementById('txt').value = document.getElementById('txt2').value;
    });
document.querySelector("#txt2").addEventListener("change", function() {
      document.getElementById('txt2').value = '';
    });
Выношу очищение в отдельное событие, так как буквы можно вбить и с клавиатуры