//复制到剪切板
function copyToClipBoard(str){ 
    
var clipBoardContent=''
    clipBoardContent
+=str; 
    window.clipboardData.setData(
"Text",clipBoardContent);
    alert(
'ok');
可用,没仔细研究,firefox也没试,记录一下,有时间研究。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-03
  • 2021-12-12
  • 2021-12-19
  • 2021-09-01
  • 2021-05-29
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-15
  • 2022-12-23
  • 2021-12-30
  • 2021-12-10
相关资源
相似解决方案