Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

file-access-from-files

  • 2 답장
  • 1 이 문제를 만남
  • 4 보기
  • 최종 답변자: ugajin

more options

I have been working through the HTML5 canvas tutorial(s). Currently on Pixel manipulation: https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Pixel_manipulation_with_canvas, and hit on a problem/issue.

The issue concerns the canvas and getImageData() method. The workaround (when working with local files) seems to be to store and load the image from same directory as our HTML page. Not the most elegant solution, and I have similar issue with Google Chrome, but I am able to fix this by launching app from Terminal and setting --args. The issue is not present in Safari, (all on OS X).

Is there a similar (or better) way of launching Firefox to allow 'file-acces-from-files' locally?

I hope this makes sense. Many thanks in anticipation.

-u

I have been working through the HTML5 canvas tutorial(s). Currently on Pixel manipulation: https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Pixel_manipulation_with_canvas, and hit on a problem/issue. The issue concerns the canvas and getImageData() method. The workaround (when working with local files) seems to be to store and load the image from same directory as our HTML page. Not the most elegant solution, and I have similar issue with Google Chrome, but I am able to fix this by launching app from Terminal and setting --args. The issue is not present in Safari, (all on OS X). Is there a similar (or better) way of launching Firefox to allow 'file-acces-from-files' locally? I hope this makes sense. Many thanks in anticipation. -u

모든 댓글 (2)

more options

hi, support.mozilla.org is intended for end-user support. if you have a question regarding web development please refer to Where to go for developer support instead. thank you for your understanding!