this post was submitted on 09 Feb 2024
239 points (94.8% liked)
Privacy
32120 readers
406 users here now
A place to discuss privacy and freedom in the digital world.
Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.
In this community everyone is welcome to post links and discuss topics related to privacy.
Some Rules
- Posting a link to a website containing tracking isn't great, if contents of the website are behind a paywall maybe copy them into the post
- Don't promote proprietary software
- Try to keep things on topic
- If you have a question, please try searching for previous discussions, maybe it has already been answered
- Reposts are fine, but should have at least a couple of weeks in between so that the post can reach a new audience
- Be nice :)
Related communities
much thanks to @gary_host_laptop for the logo design :)
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'm working on an application right now that requires the ability to load and save data to the local file system. Firefox does not allow this, whereas Chrome does. The whole application runs from the local file system, so I don't think there is much of a security issue.
But I actually do is test for the existence of the function to open the save or load dialog. That way, if Firefox does implement it, Firefox will work as well.
That sounds like a huge security risk. I'm surprised any browser allows it.
All it can do is open a dialogue to load or save a file. The action must also be initiated by the user (e.g. clicking a button). It's not randomly allowing a page to load and save on its own.
But both of those are possible on Firefox?
Using JavaScript to open a save or load dialog is not possible on Firefox. It lacks the methods showOpenFilePicker() and showSaveFilePicker().
Is that a PWA? Firefox used to support it.
It is simply an HTML page with local JavaScript files. Nothing else. It has to run on as many platforms as possible, and be totally isolated from the outside world.