820
技術社區[雲棲]
Js控製剪貼板——clipboardData之一
<body oncopy="alert('禁止複製!');return false;">
看看我能不能被複製哦。本網頁的內容是禁止複製的哦。
<input type="button" value="將本網頁地址複製"
font-size:16px;"> ('Text','這是一個好玩的網站'+location.href);alert('該網地已在粘貼板中');" />
</body>
</html>
最後更新:2017-04-02 22:16:20