Skip to content

Latest commit

 

History

History

disable_js_tauri

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Example for tauri WebviewBuilder.disable_javascript

PR: tauri-apps/tauri#12792

Usage

cargo run

What?

tauri::webview::WebviewBuilder::new("main1", WebviewUrl::App(Default::default()))
    .disable_javascript() // <- this line
    .auto_resize()

you can comment out this line to test the option.