document.getElementById("in").onpaste = function(e){ e.clipboardData.effectAllowed = "all" console.log(e.clipboardData); }