Skip to content
New issue

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

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

Already on GitHub? # to your account

feat: add WebviewBuilder.disable_javascript and WebviewWindowBuilder.disable_javascript #12792

Closed

Conversation

Simon-Laux
Copy link
Contributor

@Simon-Laux Simon-Laux commented Feb 23, 2025

Add WebviewBuilder.disable_javascript and WebviewWindowBuilder.disable_javascript api to disable JavaScript.

There are some cases where this is nessesary.
For example I need this for safely displaying HTML emails in delta chat:

example to try out: https://github.com/Simon-Laux/tauri-experiments/blob/main/examples/disable_js_tauri

Progress

@amrbashir amrbashir deleted the branch tauri-apps:deps/windows059 February 25, 2025 17:41
@amrbashir amrbashir closed this Feb 25, 2025
@FabianLars
Copy link
Member

Please re-open the PR against the dev branch again :)

@Simon-Laux
Copy link
Contributor Author

the new pr is #12821

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants