1 if (window.clipboardData) {
2 c = window.clipboardData.getData("Text");
3 if (c) {
4 document.write("<p>The contents of your clipboard:</p>");
5 document.write("<blockquote>" + c + "</blockquote>");
6 }
7 }