Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to disable the security alert of showSaveFilePicker #3619

Open
4Ever20 opened this issue Jul 5, 2023 · 4 comments
Open

How to disable the security alert of showSaveFilePicker #3619

4Ever20 opened this issue Jul 5, 2023 · 4 comments
Assignees
Labels
feature request feature request tracked We are tracking this work internally.

Comments

@4Ever20
Copy link

4Ever20 commented Jul 5, 2023

Description
I am trying to save the file (the type of file may be a risk containing, e.g. .xml file) by using window.showSaveFilePicker in JavaScript, But this triggers a security alert.

Investigation
I've tried using PermissionRequested and ScriptDialogOpening events to intercept these behaviors, but it doesn't work.
I also tried using chromium-command-line to disable this security warning, but I didn't find a corresponding command.

Screenshots
image
image

Expectation
Do not show security warnings.

AB#45472571

@DominicFarrington
Copy link

@champnic is this possible?

@vickiez vickiez added feature request feature request tracked We are tracking this work internally. labels Jul 10, 2023
@vickiez
Copy link
Contributor

vickiez commented Jul 10, 2023

Hi @DominicFarrington, I don't see an existing way to accomplish this. Created a work item to track internally and will let you know when there's an update

@novac42 novac42 removed the question label Jul 18, 2023
@lkxed
Copy link

lkxed commented Aug 3, 2023

I have come across the same problem, would like to see it solved. Any way to go around this security alert will do. If it keeps occurring, the user experience will be awful.

@Master-Ukulele Master-Ukulele self-assigned this Feb 6, 2024
@nishitha-burman
Copy link
Collaborator

Hello,

The SaveFileSecurityCheck API is now available as experimental. Please give it a try and let us know if you have any feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request feature request tracked We are tracking this work internally.
Projects
None yet
Development

No branches or pull requests

7 participants