IE
window.clipboardData.setData('Text',createClipboardData(param));
google,chrome
// 复制到剪切板
function copyToClipboard(text) {
var textArea = document.createElement("textarea");
textArea.value = text;
document.body.appendChild(textArea);
textArea.select();
try {
var successful = document.execCommand('copy');
} catch (err) {
}
document.body.removeChild(textArea);
}