Die Funktionalität dieser Website ist durch Wartungsarbeiten eingeschränkt, die Ihr Erlebnis verbessern sollen. Wenn ein Artikel Ihr Problem nicht löst und Sie eine Frage stellen möchten, können Sie unsere Gemeinschaft über @FirefoxSupport auf Twitter, /r/firefox oder Reddit fragen.

Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen

file-access-from-files

  • 2 Antworten
  • 1 hat dieses Problem
  • 4 Aufrufe
  • Letzte Antwort von 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

Alle Antworten (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!