6P by xguru 2022-08-29 | favorite | 댓글 1개
  • 이 사이트를 방문하면 사용자 동의없이 클립보드에 특정 문자열이 복사됨
  • Safari 와 Firefox 는 navigator.clipboard.write() 와 writeText() 호출시 사용자 제스쳐를 필요로 하지만 크롬은 그냥 넘어감

사이트 방문 후 아무데나 붙여넣기 해보면 아래 문자열이 나옵니다.

Hello, this message is in your clipboard because you visited the website Web Platform News in a browser that allows websites to write to the clipboard without the user’s permission. Sorry for the inconvenience. For more information about this issue, see https://github.com/w3c/clipboard-apis/issues/182.