이야기
자동 출처 복사

<script language="javascript">
function contents_scp(sdz)
{
if (window.event)
{
window.event.returnValue = true;
window.setTimeout('attach_sdref("'+sdz+'")', 25);
}
}
function attach_sdref(sdz)
{
if (window.clipboardData) // IE
{
// get data from clipboard
var txt = window.clipboardData.getData('Text');
// attach the source at the end of text
txt = txt + '\r\n(출처 :  '+sdz+')';  // set data to clibboard
var result = window.clipboardData.setData('Text', txt);
}
}
</script>
<div oncopy='contents_scp("");'>
내용
</div>

이 게시물을

에디터 선택

※ 주의 : 페이지가 새로고침됩니다

이 댓글을 삭제하시겠습니까?

SEARCH