chaesunbak 님의 블로그
close
프로필 사진

chaesunbak 님의 블로그

github: @chaesunbak

  • 분류 전체보기 (37)
    • 회고 (13)
    • 트러블슈팅 (5)
    • 위키 (12)
    • 후기 (3)
    • 분석 (4)
  • 블로그 이사합니다
  • 홈
  • 태그
  • GitHub
사파리 Clipboard API NotAllowedError

사파리 Clipboard API NotAllowedError

문제상황특정 브라우저(Safari)에서만 Clipboard API 사용시 NotAllowedError가 발생하는 이슈가 있었다.문제의 코드 async function handleShare(text){ // 로깅용 fetch fetch(...) // 클립보드 복사 await navigator.clipboard.writeText(text); // ❌ : NotAllowedError!}Safari에서만 NotAllowedError가 발생한 이유The Clipboard API allows users to programmatically read and write text and other kinds of data to and from the system clipboard in secur..

  • format_list_bulleted 트러블슈팅
  • · 2026. 4. 9.
  • navigate_before
  • 1
  • navigate_next
Copyright © chaesunbak All rights reserved. Powered by Tistory.

티스토리툴바