使用剪貼板API! 還有一種使復制/粘貼有效的方法,即使用 document.execCommand() 功能。我不會在這裡討論該選項。 Clipboard API旨在成為該命令的後繼者。
確定! 回上一頁