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

Fix possible bug saving file in Safari #49

Merged
merged 6 commits into from
Nov 20, 2023
Merged

Fix possible bug saving file in Safari #49

merged 6 commits into from
Nov 20, 2023

Conversation

shgysk8zer0
Copy link
Owner

  • Fix possible bug saving files in Safari
  • Add data#script-url & blob#script-url policies
  • Allow blob: scripts & blob#script-url policy
  • Remove unused policy arg
  • Version bump

Description and issue

List of significant changes made

Safari *might* require links be appended before saving via automated
clicks will work, so append them.

Also create function for generating `data:` URIs from files,
support saving via `data:` URLs (base64 encoded or not), and
rename `save()` and `open()` to `saveFile()` and `openFile()` with
alias to old and warning of deprecation.
@shgysk8zer0 shgysk8zer0 added bug Something isn't working enhancement New feature or request labels Nov 20, 2023
@shgysk8zer0 shgysk8zer0 self-assigned this Nov 20, 2023
@shgysk8zer0 shgysk8zer0 disabled auto-merge November 20, 2023 15:13
@shgysk8zer0 shgysk8zer0 merged commit 885b26b into master Nov 20, 2023
4 checks passed
@shgysk8zer0 shgysk8zer0 deleted the bug/file-save branch November 20, 2023 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant