復制網頁內容自動加入版權內容代碼,請放在body之間任意位置,可以嘗試復制本文內容預覽效果,firefox無效。
以下為代碼內容:
<script>
document.body.oncopy = function () { setTimeout( function () { var text = clipboardData.getData("text"); if (text) { text = text + "rnrn該文章轉自[武林網-MB5U.COM] 原文鏈接:"+location.href; clipboardData.setData("text", text); } }, 100 ) }
</script>
新聞熱點
疑難解答