feat: add WebViewBuilder.with_javascript_disabled - #1496
Merged
Conversation
8 tasks
Simon-Laux
marked this pull request as ready for review
February 23, 2025 08:05
Simon-Laux
force-pushed
the
disable-javascript
branch
from
February 23, 2025 08:37
301be81 to
0e17e4e
Compare
…S and iOS at first)
(this was forgotten on `dev` branch, and my dev setup needs it)
Simon-Laux
force-pushed
the
disable-javascript
branch
from
February 23, 2025 08:54
0e17e4e to
4011e4e
Compare
Contributor
Package Changes Through b49b31cThere are 1 changes which include wry with patch Planned Package VersionsThe following package releases are the planned based on the context of changes in this pull request.
Add another change file through the GitHub UI by following this link. Read about change files or the docs at github.com/jbolda/covector |
7 tasks
7 tasks
WofWca
added a commit
to WofWca/tauri
that referenced
this pull request
Mar 17, 2025
The initial version of the MR that introduced this to Wry (tauri-apps/wry#1496) had no Android implementation, but it has been added in a later version of the MR, so the comment is no longer valid.
amrbashir
pushed a commit
to tauri-apps/tauri
that referenced
this pull request
Mar 18, 2025
The initial version of the MR that introduced this to Wry (tauri-apps/wry#1496) had no Android implementation, but it has been added in a later version of the MR, so the comment is no longer valid.
kandrelczyk
pushed a commit
to kandrelczyk/tauri
that referenced
this pull request
Apr 7, 2025
The initial version of the MR that introduced this to Wry (tauri-apps/wry#1496) had no Android implementation, but it has been added in a later version of the MR, so the comment is no longer valid.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
add
WebViewBuilder.with_javascript_disabledto disable javascript.There are some cases where this is nessesary.
For example I need this for safely displaying HTML emails in delta chat:
closes #986 (which was only solved for windows before)
example to try out: https://github.com/Simon-Laux/tauri-experiments/tree/main/examples/disable_js_wry
Progress
wryimport to git branch instead of local checkout in example.changesdirectory with the appropriate bump, see https://github.com/tauri-apps/wry/blob/dev/.changes/readme.md