Skip to content

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

Closed
Simon-Laux wants to merge 1 commit into
tauri-apps:deps/windows059from
Simon-Laux:disable-javascript
Closed

feat: add WebviewBuilder.disable_javascript and WebviewWindowBuilder.disable_javascript#12792
Simon-Laux wants to merge 1 commit into
tauri-apps:deps/windows059from
Simon-Laux:disable-javascript

Conversation

@Simon-Laux

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

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

Copy link
Copy Markdown
Member

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

@Simon-Laux

Copy link
Copy Markdown
Contributor Author

the new pr is #12821

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