JSMinesweeper icon indicating copy to clipboard operation
JSMinesweeper copied to clipboard

showSaveFilePicker not supported in Firefox

Open Lem opened this issue 2 years ago • 3 comments

I tried to download a board in the analyzer, but nothing poped up.

Taking a look into the console reviled:

Save file picker exception: window.showSaveFilePicker is not a function

As I'm using Firefox 120.0 it seems that my browser does not support a download. Take a look at the "Browser compatibility"-section of https://developer.mozilla.org/en-US/docs/Web/API/Window/showSaveFilePicker

Lem avatar Nov 27 '23 19:11 Lem

Thanks for reporting this.

I'll see if I can revert to doing a file download if ShowSaveFilePicker is not available.

DavidNHill avatar Nov 27 '23 21:11 DavidNHill

The links should download the position or mbf data now when the file picker isn't available.

Let me know if this works for you, or not.

DavidNHill avatar Nov 28 '23 12:11 DavidNHill

Let me know if this works for you, or not.

It is now working. Thanks

Lem avatar Nov 28 '23 18:11 Lem