<style type="text/css">
body{
 /* Prevent tablets from selecting text on taphold, etc:
    Note:
    If only the potential menu trigger elements should be protected, simply
    use the 'preventSelect: true' option.
    But we disable it more globally for tablet pc's, because the whole line
    or paragraph will still be selected otherwise.
  */
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
</style>

 

위와 같은 코드는 찾았는데 어디 css 에 넣어야 적용 되는 것인지 알 수가 없어서 문의합니다.

모바일로 드래그를 해서 글을 복사하는 것을 막고 싶어서 그러는 것인데, 알려두실 수 있나요? 

  • profile
    간단하게
    https://xe1.xpressengine.com/index.php?mid=download&package_id=21526323
    https://xe1.xpressengine.com/index.php?mid=download&package_id=22753411

    ^____________^
  • profile

    우클릭 방지는 css가 아니라 자바스크립트로 넣으셔야 되요. 저 코드는 텍스트 드래그를 방지하는 코드입니다. 그리고 개인적으로는 우클방지 비추합니다.

  • ?
    해봐야 다 어떻게든 복사를 하더군요 ㅠㅠ
    그래서 저도 한참 하다가 포기 ㅋㅋㅋ
  • ?
    의미없다 생각...