更新时间:2022-04-09 15:13:36
window.clipboardData.getData('Text')
可以在某些浏览器中使用。但是,它运行的许多浏览器会提示用户是否希望网页能够访问剪贴板。
window.clipboardData.getData('Text')
will work in some browsers. However, many browsers where it does work will prompt the user as to whether or not they wish the web page to have access to the clipboard.