4 ms·
Therein lies the problem, because it should only re-prompt for permission only when you clear the site settings. Additionally, as far as I'm aware or at least l
by encryptluks2 4y ago
Therein lies the problem, because it should only re-prompt for permission only when you clear the site settings. Additionally, as far as I'm aware or at least last time I checked this doesn't enable directory based permissions, so a web IDE wouldn't be able to browser a directory or sub-directories after given permission.
- 8n4vidtmkvmk 4y ago> Additionally, as far as I'm aware or at least last time I checked this doesn't enable directory based permissions, I haven't tried it yet, but I thought it did.. the first 3 paragraphs of the comment you're responding to all mention directories > This API allows interaction with files on a user's local device, or on a user-accessible network file system. Core functionality of this API includes reading files, writing or saving files, and access to directory structure. > Most of the interaction with files and directories is accomplished through handles. A parent FileSystemHandle class helps define two child classes: FileSystemFileHandle and FileSystemDirectoryHandle, for files and directories respectively. > The handles represent a file or directory on the user's system. You can first gain access to them by showing the user a file or directory picker using methods such as window.showOpenFilePicker() and window.showDirectoryPicker(). Once these are called, the file picker presents itself and the user selects either a file or directory. Once this happens successfully, a handle is returned.