I am sorry to ask a question that may have a simple answer, but I cannot find anywhere in the docs of the file system access api for javascript about platform specific support for this library. I have designed a web application that relies on this library, but have found that it only works with Windows users. Mac users are getting an error in the console that states "window.showOpenFilePicker is not a function". According to the Mozilla docs, it should be accessible with the safari version Mac users are running. I am running this service with HTTPS so it is not an insecure context issue and was wondering if anyone has run into the same problem and has a solution, or if not, a different way of accessing a Mac user's selected files/directories. Thank you!
Does the Javascript File System Access API work with Mac? And if yes, are there any modifications needed for it to work?
282 Views Asked by BugSpray98 At
1
There are 1 best solutions below
Related Questions in JAVASCRIPT
- Using Puppeteer to scrape a public API only when the data changes
- inline SVG text (js)
- An array of images and a for loop display the buttons. How to assign each button to open its own block by name?
- Storing the preferred font-size in localStorage
- Simple movie API request not showing up in the console log
- Authenticate Flask rest API
- Deploying sveltekit app with gunjs on vercel throws cannot find module './lib/text-encoding'
- How to request administrator rights?
- mp4 embedded videos within github pages website not loading
- Scrimba tutorial was working, suddenly stopped even trying the default
- In Datatables, start value resets to 0, when column sorting
- How do I link two models in mongoose?
- parameter values only being sent to certain columns in google sheet?
- Run main several times of wasm in browser
- Variable inside a Variable, not updating
Related Questions in MACOS
- Error installing Nativescript on Mac M2 Sonoma 14.4.1
- macOS - Most secure way of a GUI SUDO_ASKPASS
- When using onDrag in SwiftUI on Mac how can I detect when the dragged object has been released anywhere?
- Why does Hugo generate different taxonomy-related HTML on different OS's?
- ZSH function parameters conundrum
- how to make read only file/directory in Mac writable
- macOS BigSur - Unable to run bundled php version or brew php 8
- 9 Digit Addresses in Hexadecimal System in MacOS
- MacOS Bash-Script: while read p and echo
- How to make a range for tail rows on a categorized table in Numbers with JXA scripts?
- Cannot build a basic project with curl on Mac (M2) for Raspberry Pi Pico
- How to recover deleted files from create vite react project
- Can't run built SFML project from Xcode template
- React Native - RealmJS - Linker command failed with exit code 1
- How can I manually add a keyboard shortcut to a Shortcut Action Service directly via the system files, without going through the System Prefs GUI?
Related Questions in FILE-SYSTEM-ACCESS-API
- File opens as text file in browser when opened with PWA
- File System Access API - open/read a file without using showOpenFilePicker()
- Can I set a specific drive (e.g,"D:\") as a default directory for showOpenFilePicker?
- Trying to generate a 20+ gb zip file with JSZip + File System Access API, always fails around 20 GB
- Can an installed PWA create and upload mulitple files from a single user prompt via FileSystemAccessAPI?
- File System Access API on Safari iOS - createSyncAccessHandle() UnknownError: 'invalid platform file handle'
- File access system api(wicg-file-system-access) is not loading in dev environment
- "AbortError: Blocked by Safe Browsing." when using the Filesystem Access API
- Does the Javascript File System Access API work with Mac? And if yes, are there any modifications needed for it to work?
- How can I save changes to a file selected from the user's computer in JavaScript?
- Why does ShowDirectoryPicker hang?
- Implement browser NVR
- File System API to open folder in network drive
- The File System Access API file writing gives error
- non-deprecated replacement for FileSystemEntry.toURL()
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
It's not OS dependent no, but currently it's browser dependent. MacOS users of Chrome will be able to use this feature, Windows users of Firefox won't. See the compatibility table of MDN which states that only Chromium based browsers support this.
Also note that while a subset of the File System API is standardized (and thus should be implemented everywhere),
showOpenFilePickerisn't part of that subset yet.