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

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

Merged
merged 5 commits into from
Mar 2, 2025

Conversation

Simon-Laux
Copy link
Contributor

@Simon-Laux Simon-Laux commented Feb 26, 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

Sorry, something went wrong.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
…er.disable_javascript`
@lucasfernog lucasfernog marked this pull request as ready for review March 2, 2025 17:45
@lucasfernog lucasfernog requested a review from a team as a code owner March 2, 2025 17:45
Copy link
Contributor

github-actions bot commented Mar 2, 2025

Package Changes Through 4449416

There are 3 changes which include @tauri-apps/api with minor, tauri with minor, tauri-runtime-wry with minor

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
@tauri-apps/api 2.3.0 2.4.0
tauri-runtime-wry 2.4.1 2.5.0
tauri 2.3.1 2.4.0

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@lucasfernog lucasfernog merged commit 20c1906 into tauri-apps:dev Mar 2, 2025
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🔎 In audit
Development

Successfully merging this pull request may close these issues.

None yet

3 participants