Skip to content

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

Merged
lucasfernog merged 5 commits intotauri-apps:devfrom
Simon-Laux:disable-js-2
Mar 2, 2025
Merged

feat: add WebviewBuilder.disable_javascript and WebviewWindowBuilder.disable_javascript#12821
lucasfernog merged 5 commits intotauri-apps:devfrom
Simon-Laux:disable-js-2

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

@github-project-automation github-project-automation bot moved this to 📬Proposal in Roadmap Mar 2, 2025
@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
@github-actions
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
@github-project-automation github-project-automation bot moved this from 📬Proposal to 🔎 In audit in Roadmap Mar 2, 2025
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.

3 participants