Jaifroid

Results 751 comments of Jaifroid

@amitpanwar789 You should remove them completely, please. They will remain in the git history in case anyone ever needs to find them again.

It seems there is an issue using this API in Chrome extensions. See https://github.com/WICG/file-system-access/issues/289.

The corresponding Chromium bug report regarding `showDirectoryPicker` not working in extensions is here: https://crbug.com/1368818#c6. There is no point developing this until that bug is fixed, because being able to pick...

Now that we were forced to use the PWA workaround in order to support Manifest V3 in the Chromium extension, it is more feasible to add the File System Access...

I have just tested (using Kiwix JS PWA) and in Chromium 117.0.2045.31 the `showDirectoryPicker` method is now working inside an extension. See https://bugs.chromium.org/p/chromium/issues/detail?id=1368818#c14. This means that the last obstacle to...

@Rishabhg71 As mentioned in #1032, it may be easiest to work on this API holistically with the `Webkitdirectory` API. You can take a look at the implementation in Kiwix PWA...

Rather than reinventing the wheel, you could import `cache.js` into Kiwix JS Browser Extension, or at least the code in there that opens an indexedDB database, and allows serializing objects...

PS don't try to implement Origin Private File System (yet). That's a whole other level of complexity, and you have to have the building blocks in place first.

@Rishabhg71 Sorry, one other thing -- when picking a directory and processing its contents, attention has to be paid to any split ZIM files in the directory. Only the `.zimaa`...