Skip to content

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

Merged
lucasfernog merged 5 commits into
tauri-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 into
tauri-apps:devfrom
Simon-Laux:disable-js-2

Conversation

@Simon-Laux

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

Copy link
Copy Markdown
Contributor

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

@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

github-actions Bot commented Mar 2, 2025

Copy link
Copy Markdown
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants